/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | WebInputEventFactoryTestGtk.cpp | 60 WebMouseEvent firstClickEvent = WebInputEventFactory::mouseEvent(&firstClick); in TEST() 66 WebMouseEvent secondClickEvent = WebInputEventFactory::mouseEvent(&secondClick); in TEST() 71 firstClickEvent = WebInputEventFactory::mouseEvent(&firstClick); in TEST() 77 secondClickEvent = WebInputEventFactory::mouseEvent(&secondClick); in TEST() 82 firstClickEvent = WebInputEventFactory::mouseEvent(&firstClick); in TEST() 89 secondClickEvent = WebInputEventFactory::mouseEvent(&secondClick); in TEST() 94 firstClickEvent = WebInputEventFactory::mouseEvent(&firstClick); in TEST() 101 secondClickEvent = WebInputEventFactory::mouseEvent(&secondClick); in TEST() 106 firstClickEvent = WebInputEventFactory::mouseEvent(&firstClick); in TEST() 113 secondClickEvent = WebInputEventFactory::mouseEvent(&secondClick); in TEST() [all …]
|
D | PopupMenuTest.cpp | 241 PlatformMouseEvent mouseEvent(point, point, LeftButton, PlatformEvent::MousePressed, in simulateLeftMouseDownEvent() local 243 m_webView->selectPopup()->handleMouseDownEvent(mouseEvent); in simulateLeftMouseDownEvent() 247 PlatformMouseEvent mouseEvent(point, point, LeftButton, PlatformEvent::MouseReleased, in simulateLeftMouseUpEvent() local 249 m_webView->selectPopup()->handleMouseReleaseEvent(mouseEvent); in simulateLeftMouseUpEvent() 373 PlatformMouseEvent mouseEvent(row1Point, row1Point, NoButton, PlatformEvent::MouseMoved, in TEST_F() local 375 m_webView->selectPopup()->handleMouseMoveEvent(mouseEvent); in TEST_F()
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
D | NavigationAction.cpp | 63 const MouseEvent* mouseEvent = 0; in NavigationAction() local 65 mouseEvent = toMouseEvent(m_event.get()); in NavigationAction() 67 mouseEvent = toMouseEvent(m_event->underlyingEvent()); in NavigationAction() 69 … (!mouseEvent || !navigationPolicyFromMouseEvent(mouseEvent->button(), mouseEvent->ctrlKey(), mous… in NavigationAction()
|
/external/chromium-trace/trace-viewer/src/tracing/ |
D | timeline_track_view.js | 662 storeInitialInteractionPositionsAndFocus_: function(mouseEvent) { argument 664 this.storeInitialMouseDownPos_(mouseEvent); 665 this.storeLastMousePos_(mouseEvent); 672 var mouseEvent = e.data; 674 if (!this.canBeginInteraction_(mouseEvent)) 680 this.storeInitialInteractionPositionsAndFocus_(mouseEvent); 681 mouseEvent.preventDefault(); 690 var mouseEvent = e.data; 702 mouseEvent.preventDefault(); 703 mouseEvent.stopPropagation(); [all …]
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | base_view.mm | 36 - (void)mouseEvent:(NSEvent *)theEvent { 46 [self mouseEvent:theEvent]; 50 [self mouseEvent:theEvent]; 54 [self mouseEvent:theEvent]; 58 [self mouseEvent:theEvent]; 72 [self mouseEvent:exitEvent]; 78 [self mouseEvent:theEvent]; 82 [self mouseEvent:theEvent]; 86 [self mouseEvent:theEvent]; 90 [self mouseEvent:theEvent]; [all …]
|
D | base_view.h | 29 - (void)mouseEvent:(NSEvent *)theEvent;
|
/external/chromium_org/ui/base/cocoa/ |
D | base_view.mm | 25 - (void)mouseEvent:(NSEvent*)theEvent { 38 [self mouseEvent:theEvent]; 42 [self mouseEvent:theEvent]; 46 [self mouseEvent:theEvent]; 50 [self mouseEvent:theEvent]; 64 [self mouseEvent:exitEvent]; 70 [self mouseEvent:theEvent]; 74 [self mouseEvent:theEvent]; 78 [self mouseEvent:theEvent]; 82 [self mouseEvent:theEvent]; [all …]
|
D | base_view.h | 34 - (void)mouseEvent:(NSEvent *)theEvent;
|
/external/chromium-trace/trace-viewer/src/ui/ |
D | mouse_mode_selector.js | 166 var mouseEvent = new base.Event(eventNames.begin, true, true); 167 mouseEvent.data = e; 168 this.dispatchEvent(mouseEvent); 174 var mouseEvent = new base.Event(eventNames.update, true, true); 175 mouseEvent.data = e; 176 this.dispatchEvent(mouseEvent); 181 var mouseEvent = new base.Event(eventNames.end, true, true); 186 mouseEvent.data = e; 187 this.dispatchEvent(mouseEvent);
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
D | SpinButtonElement.cpp | 91 MouseEvent* mouseEvent = toMouseEvent(event); in defaultEventHandler() local 92 …IntPoint local = roundedIntPoint(box->absoluteToLocal(mouseEvent->absoluteLocation(), UseTransform… in defaultEventHandler() 93 if (mouseEvent->type() == EventTypeNames::mousedown && mouseEvent->button() == LeftButton) { in defaultEventHandler() 114 } else if (mouseEvent->type() == EventTypeNames::mouseup && mouseEvent->button() == LeftButton) in defaultEventHandler()
|
/external/chromium_org/third_party/WebKit/public/web/gtk/ |
D | WebInputEventFactory.h | 52 BLINK_EXPORT static WebMouseEvent mouseEvent(const GdkEventButton*); 53 BLINK_EXPORT static WebMouseEvent mouseEvent(const GdkEventMotion*); 54 BLINK_EXPORT static WebMouseEvent mouseEvent(const GdkEventCrossing*);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
D | Spectrum.js | 173 var mouseEvent = /** @type {!MouseEvent} */ (e); 174 var rightClick = mouseEvent.which ? (mouseEvent.which === 3) : (mouseEvent.button === 2); 179 onstart(element, mouseEvent); 193 move(mouseEvent); 194 consume(mouseEvent);
|
/external/chromium_org/chrome/test/functional/gtalk/ |
D | jsutils.js | 68 var mouseEvent = element.ownerDocument.createEvent('MouseEvent'); 69 mouseEvent.initMouseEvent('click', true, true, window, 71 element.dispatchEvent(mouseEvent);
|
/external/chromium_org/third_party/WebKit/Source/core/events/ |
D | MouseEvent.cpp | 230 MouseEvent* mouseEvent = toMouseEvent(this->underlyingEvent()); in SimulatedMouseEvent() local 231 m_screenLocation = mouseEvent->screenLocation(); in SimulatedMouseEvent() 232 initCoordinates(mouseEvent->clientLocation()); in SimulatedMouseEvent() 236 …tchMediator> MouseEventDispatchMediator::create(PassRefPtr<MouseEvent> mouseEvent, MouseEventType … in create() argument 238 return adoptRef(new MouseEventDispatchMediator(mouseEvent, mouseEventType)); in create() 241 MouseEventDispatchMediator::MouseEventDispatchMediator(PassRefPtr<MouseEvent> mouseEvent, MouseEven… in MouseEventDispatchMediator() argument 242 : EventDispatchMediator(mouseEvent), m_mouseEventType(mouseEventType) in MouseEventDispatchMediator()
|
D | EventRetargeter.cpp | 40 void EventRetargeter::adjustForMouseEvent(Node* node, MouseEvent& mouseEvent) in adjustForMouseEvent() argument 42 adjustForRelatedTarget(node, mouseEvent.relatedTarget(), mouseEvent.eventPath()); in adjustForMouseEvent()
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | ContextMenuController.cpp | 107 MouseEvent* mouseEvent = toMouseEvent(event); in createContextMenu() local 108 HitTestResult result(mouseEvent->absoluteLocation()); in createContextMenu() 111 …result = frame->eventHandler().hitTestResultAtPoint(mouseEvent->absoluteLocation(), HitTestRequest… in createContextMenu()
|
D | EventHandler.cpp | 1299 bool EventHandler::handleMousePressEvent(const PlatformMouseEvent& mouseEvent) in handleMousePressEvent() argument 1303 bool defaultPrevented = dispatchSyntheticTouchEventIfEnabled(mouseEvent); in handleMousePressEvent() 1315 setLastKnownMousePosition(mouseEvent); in handleMousePressEvent() 1316 m_mouseDownTimestamp = mouseEvent.timestamp(); in handleMousePressEvent() 1321 m_mouseDownPos = view->windowToContents(mouseEvent.position()); in handleMousePressEvent() 1329 if (mouseEvent.fromTouch()) in handleMousePressEvent() 1334 LayoutPoint documentPoint = documentPointForWindowPoint(m_frame, mouseEvent.position()); in handleMousePressEvent() 1335 …ithHitTestResults mev = m_frame->document()->prepareMouseEvent(request, documentPoint, mouseEvent); in handleMousePressEvent() 1370 m_clickCount = mouseEvent.clickCount(); in handleMousePressEvent() 1375 IntPoint p = view->windowToContents(mouseEvent.position()); in handleMousePressEvent() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
D | ImageInputType.cpp | 102 MouseEvent* mouseEvent = toMouseEvent(event->underlyingEvent()); in extractClickLocation() local 103 if (mouseEvent->isSimulated()) in extractClickLocation() 105 return IntPoint(mouseEvent->offsetX(), mouseEvent->offsetY()); in extractClickLocation()
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
D | HTMLSelectElement.cpp | 1289 MouseEvent* mouseEvent = toMouseEvent(event); in listBoxDefaultEventHandler() local 1290 …IntPoint localOffset = roundedIntPoint(renderer()->absoluteToLocal(mouseEvent->absoluteLocation(),… in listBoxDefaultEventHandler() 1295 updateSelectedState(listIndex, mouseEvent->metaKey(), mouseEvent->shiftKey()); in listBoxDefaultEventHandler() 1297 updateSelectedState(listIndex, mouseEvent->ctrlKey(), mouseEvent->shiftKey()); in listBoxDefaultEventHandler() 1306 MouseEvent* mouseEvent = toMouseEvent(event); in listBoxDefaultEventHandler() local 1307 if (mouseEvent->button() != LeftButton || !mouseEvent->buttonDown()) in listBoxDefaultEventHandler() 1310 …IntPoint localOffset = roundedIntPoint(renderer()->absoluteToLocal(mouseEvent->absoluteLocation(),… in listBoxDefaultEventHandler()
|
D | ImageDocument.cpp | 379 MouseEvent* mouseEvent = toMouseEvent(event); in handleEvent() local 380 m_doc->imageClicked(mouseEvent->x(), mouseEvent->y()); in handleEvent()
|
/external/chromium_org/third_party/WebKit/public/web/win/ |
D | WebInputEventFactory.h | 47 BLINK_EXPORT static WebMouseEvent mouseEvent(HWND, UINT, WPARAM, LPARAM);
|
/external/chromium_org/ppapi/examples/ime/ |
D | ime.cc | 470 const pp::MouseInputEvent mouseEvent(event); in HandleInputEvent() local 471 ret = OnMouseDown(mouseEvent); in HandleInputEvent() 475 const pp::MouseInputEvent mouseEvent(event); in HandleInputEvent() local 476 ret = OnMouseMove(mouseEvent); in HandleInputEvent() 480 const pp::MouseInputEvent mouseEvent(event); in HandleInputEvent() local 481 ret = OnMouseUp(mouseEvent); in HandleInputEvent()
|
/external/chromium_org/third_party/WebKit/public/web/mac/ |
D | WebInputEventFactory.h | 55 BLINK_EXPORT static WebMouseEvent mouseEvent(NSEvent*, NSView*);
|
/external/chromium_org/third_party/WebKit/public/web/android/ |
D | WebInputEventFactory.h | 63 BLINK_EXPORT static WebMouseEvent mouseEvent(MouseEventType,
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | ChromeClientImpl.cpp | 259 const WebMouseEvent* mouseEvent = static_cast<const WebMouseEvent*>(inputEvent); in updatePolicyForEvent() local 262 switch (mouseEvent->button) { in updatePolicyForEvent() 275 bool ctrl = mouseEvent->modifiers & WebMouseEvent::ControlKey; in updatePolicyForEvent() 276 bool shift = mouseEvent->modifiers & WebMouseEvent::ShiftKey; in updatePolicyForEvent() 277 bool alt = mouseEvent->modifiers & WebMouseEvent::AltKey; in updatePolicyForEvent() 278 bool meta = mouseEvent->modifiers & WebMouseEvent::MetaKey; in updatePolicyForEvent()
|