Home
last modified time | relevance | path

Searched refs:mouseEvent (Results 1 – 25 of 65) sorted by relevance

123

/external/webkit/Source/WebKit/chromium/tests/
DWebInputEventFactoryTestGtk.cpp55 WebMouseEvent firstClickEvent = WebInputEventFactory::mouseEvent(&firstClick); in TEST()
61 WebMouseEvent secondClickEvent = WebInputEventFactory::mouseEvent(&secondClick); in TEST()
66 firstClickEvent = WebInputEventFactory::mouseEvent(&firstClick); in TEST()
72 secondClickEvent = WebInputEventFactory::mouseEvent(&secondClick); in TEST()
77 firstClickEvent = WebInputEventFactory::mouseEvent(&firstClick); in TEST()
84 secondClickEvent = WebInputEventFactory::mouseEvent(&secondClick); in TEST()
89 firstClickEvent = WebInputEventFactory::mouseEvent(&firstClick); in TEST()
96 secondClickEvent = WebInputEventFactory::mouseEvent(&secondClick); in TEST()
101 firstClickEvent = WebInputEventFactory::mouseEvent(&firstClick); in TEST()
108 secondClickEvent = WebInputEventFactory::mouseEvent(&secondClick); in TEST()
[all …]
DPopupMenuTest.cpp238 PlatformMouseEvent mouseEvent(point, point, LeftButton, MouseEventPressed, in simulateLeftMouseDownEvent() local
240 m_webView->selectPopup()->handleMouseDownEvent(mouseEvent); in simulateLeftMouseDownEvent()
244 PlatformMouseEvent mouseEvent(point, point, LeftButton, MouseEventReleased, in simulateLeftMouseUpEvent() local
246 m_webView->selectPopup()->handleMouseReleaseEvent(mouseEvent); in simulateLeftMouseUpEvent()
349 PlatformMouseEvent mouseEvent(row1Point, row1Point, NoButton, MouseEventMoved, in TEST_F() local
351 m_webView->selectPopup()->handleMouseMoveEvent(mouseEvent); in TEST_F()
/external/chromium/chrome/browser/ui/cocoa/
Dbase_view.mm36 - (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 …]
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/
DInjectedBundleNavigationAction.cpp49 static WebMouseEvent::Button mouseButtonForMouseEvent(const MouseEvent* mouseEvent) in mouseButtonForMouseEvent() argument
51 if (!mouseEvent) in mouseButtonForMouseEvent()
54 if (!mouseEvent->buttonDown()) in mouseButtonForMouseEvent()
57 return static_cast<WebMouseEvent::Button>(mouseEvent->button()); in mouseButtonForMouseEvent()
93 if (const MouseEvent* mouseEvent = mouseEventForNavigationAction(navigationAction)) { in InjectedBundleNavigationAction() local
94 …esult::create(frame->coreFrame()->eventHandler()->hitTestResultAtPoint(mouseEvent->absoluteLocatio… in InjectedBundleNavigationAction()
95 m_mouseButton = mouseButtonForMouseEvent(mouseEvent); in InjectedBundleNavigationAction()
/external/webkit/Source/WebKit/wince/
DWebView.cpp289 PlatformMouseEvent mouseEvent(hWnd, message, wParam, lParam); in handleMouseEvent() local
291 …bool insideThreshold = abs(globalPrevPoint.x() - mouseEvent.pos().x()) < ::GetSystemMetrics(SM_CXD… in handleMouseEvent()
292 … && abs(globalPrevPoint.y() - mouseEvent.pos().y()) < ::GetSystemMetrics(SM_CYDOUBLECLK); in handleMouseEvent()
309 if (insideThreshold && mouseEvent.button() == globalPrevButton) in handleMouseEvent()
315 globalPrevButton = mouseEvent.button(); in handleMouseEvent()
316 globalPrevPoint = mouseEvent.pos(); in handleMouseEvent()
318 mouseEvent.setClickCount(globalClickCount); in handleMouseEvent()
319 handled = m_page->mainFrame()->eventHandler()->handleMousePressEvent(mouseEvent); in handleMouseEvent()
322 mouseEvent.setClickCount(globalClickCount); in handleMouseEvent()
323 handled = m_page->mainFrame()->eventHandler()->handleMousePressEvent(mouseEvent); in handleMouseEvent()
[all …]
/external/webkit/Source/WebKit2/WebProcess/WebPage/
DPageOverlay.cpp117 bool PageOverlay::mouseEvent(const WebMouseEvent& mouseEvent) in mouseEvent() function in WebKit::PageOverlay
120 if (!bounds().contains(mouseEvent.position())) in mouseEvent()
123 return m_client->mouseEvent(this, mouseEvent); in mouseEvent()
DPageOverlay.h54 virtual bool mouseEvent(PageOverlay*, const WebMouseEvent&) = 0;
67 bool mouseEvent(const WebMouseEvent&);
DFindController.cpp324 bool FindController::mouseEvent(PageOverlay* pageOverlay, const WebMouseEvent& mouseEvent) in mouseEvent() function in WebKit::FindController
327 if (mouseEvent.type() == WebEvent::MouseDown) { in mouseEvent()
/external/webkit/Source/WebKit/chromium/public/gtk/
DWebInputEventFactory.h52 WEBKIT_API static WebMouseEvent mouseEvent(const GdkEventButton*);
53 WEBKIT_API static WebMouseEvent mouseEvent(const GdkEventMotion*);
54 WEBKIT_API static WebMouseEvent mouseEvent(const GdkEventCrossing*);
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/mac/
DNetscapePluginMac.mm459 static void fillInCocoaEventFromMouseEvent(NPCocoaEvent& event, const WebMouseEvent& mouseEvent, co…
461 event.data.mouse.modifierFlags = modifierFlags(mouseEvent);
462 event.data.mouse.pluginX = mouseEvent.position().x() - pluginLocation.x();
463 event.data.mouse.pluginY = mouseEvent.position().y() - pluginLocation.y();
464 event.data.mouse.buttonNumber = buttonNumber(mouseEvent.button());
465 event.data.mouse.clickCount = mouseEvent.clickCount();
466 event.data.mouse.deltaX = mouseEvent.deltaX();
467 event.data.mouse.deltaY = mouseEvent.deltaY();
468 event.data.mouse.deltaZ = mouseEvent.deltaZ();
471 static NPCocoaEvent initializeMouseEvent(const WebMouseEvent& mouseEvent, const WebCore::IntPoint& …
[all …]
/external/webkit/Source/WebCore/html/shadow/
DSliderThumbElement.cpp197 MouseEvent* mouseEvent = static_cast<MouseEvent*>(event); in defaultEventHandler() local
198 isLeftButton = mouseEvent->button() == LeftButton; in defaultEventHandler()
201 MouseEvent* mouseEvent = static_cast<MouseEvent*>(event); in defaultEventHandler() local
202 bool isLeftButton = mouseEvent->button() == LeftButton; in defaultEventHandler()
230 MouseEvent* mouseEvent = static_cast<MouseEvent*>(event); in defaultEventHandler() local
232 setPositionFromPoint(mouseEvent->absoluteLocation()); in defaultEventHandler()
DTextControlInnerElements.cpp275 MouseEvent* mouseEvent = static_cast<MouseEvent*>(event); in defaultEventHandler() local
276 …IntPoint local = roundedIntPoint(box->absoluteToLocal(mouseEvent->absoluteLocation(), false, true)… in defaultEventHandler()
277 if (mouseEvent->type() == eventNames().mousedownEvent && mouseEvent->button() == LeftButton) { in defaultEventHandler()
292 … } else if (mouseEvent->type() == eventNames().mouseupEvent && mouseEvent->button() == LeftButton) in defaultEventHandler()
/external/webkit/Source/WebKit/win/
DWebActionPropertyBag.cpp122 if (const MouseEvent* mouseEvent = findMouseEvent(m_action.event())) { in Read() local
124 …pertyBag::createInstance(m_frame->eventHandler()->hitTestResultAtPoint(mouseEvent->absoluteLocatio… in Read()
129 if (const MouseEvent* mouseEvent = findMouseEvent(m_action.event())) { in Read() local
131 V_I4(pVar) = mouseEvent->button(); in Read()
DDOMEventsClasses.cpp410 WebCore::MouseEvent* mouseEvent = static_cast<WebCore::MouseEvent*>(m_event.get()); in ctrlKey() local
412 *result = mouseEvent->ctrlKey() ? TRUE : FALSE; in ctrlKey()
422 WebCore::MouseEvent* mouseEvent = static_cast<WebCore::MouseEvent*>(m_event.get()); in shiftKey() local
424 *result = mouseEvent->shiftKey() ? TRUE : FALSE; in shiftKey()
434 WebCore::MouseEvent* mouseEvent = static_cast<WebCore::MouseEvent*>(m_event.get()); in altKey() local
436 *result = mouseEvent->altKey() ? TRUE : FALSE; in altKey()
446 WebCore::MouseEvent* mouseEvent = static_cast<WebCore::MouseEvent*>(m_event.get()); in metaKey() local
448 *result = mouseEvent->metaKey() ? TRUE : FALSE; in metaKey()
DWebScrollBar.cpp227 PlatformMouseEvent mouseEvent((HWND)(ULONG64)window, msg, wParam, lParam); in handleMouseEvent() local
230 m_scrollBar->mouseDown(mouseEvent); in handleMouseEvent()
236 m_scrollBar->mouseMoved(mouseEvent); in handleMouseEvent()
/external/webkit/Source/WebCore/page/
DEventHandler.cpp1348 bool EventHandler::handleMousePressEvent(const PlatformMouseEvent& mouseEvent) in handleMousePressEvent() argument
1357 m_currentMousePosition = mouseEvent.pos(); in handleMousePressEvent()
1358 m_mouseDownTimestamp = mouseEvent.timestamp(); in handleMousePressEvent()
1365 m_mouseDownPos = view->windowToContents(mouseEvent.pos()); in handleMousePressEvent()
1382 IntPoint documentPoint = documentPointForWindowPoint(m_frame, mouseEvent.pos()); in handleMousePressEvent()
1383 …ithHitTestResults mev = m_frame->document()->prepareMouseEvent(request, documentPoint, mouseEvent); in handleMousePressEvent()
1424 m_clickCount = mouseEvent.clickCount(); in handleMousePressEvent()
1429 IntPoint p = view->windowToContents(mouseEvent.pos()); in handleMousePressEvent()
1441 …atchMouseEvent(eventNames().mousedownEvent, targetNode(mev), true, m_clickCount, mouseEvent, true); in handleMousePressEvent()
1449 mev = m_frame->document()->prepareMouseEvent(request, documentPoint, mouseEvent); in handleMousePressEvent()
[all …]
/external/webkit/Source/WebCore/html/
DImageInputType.cpp79 MouseEvent* mouseEvent = static_cast<MouseEvent*>(event->underlyingEvent()); in handleDOMActivateEvent() local
80 m_clickLocation = IntPoint(mouseEvent->offsetX(), mouseEvent->offsetY()); in handleDOMActivateEvent()
DHTMLSummaryElement.cpp80 MouseEvent* mouseEvent = static_cast<MouseEvent*>(event); in defaultEventHandler() local
81 if (mouseEvent->button() != LeftButton) in defaultEventHandler()
DImageDocument.cpp391 MouseEvent* mouseEvent = static_cast<MouseEvent*>(event); in handleEvent() local
392 m_doc->imageClicked(mouseEvent->x(), mouseEvent->y()); in handleEvent()
/external/webkit/Source/WebCore/rendering/
DRenderEmbeddedObject.cpp277 MouseEvent* mouseEvent = static_cast<MouseEvent*>(event); in handleMissingPluginIndicatorEvent() local
280 m_mouseDownWasInMissingPluginIndicator = isInMissingPluginIndicator(mouseEvent); in handleMissingPluginIndicatorEvent()
298 if (m_mouseDownWasInMissingPluginIndicator && isInMissingPluginIndicator(mouseEvent)) { in handleMissingPluginIndicatorEvent()
306 …dicatorIsPressed(m_mouseDownWasInMissingPluginIndicator && isInMissingPluginIndicator(mouseEvent)); in handleMissingPluginIndicatorEvent()
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
DNetscapePlugin.cpp663 bool NetscapePlugin::handleMouseEvent(const WebMouseEvent& mouseEvent) in handleMouseEvent() argument
667 return platformHandleMouseEvent(mouseEvent); in handleMouseEvent()
677 bool NetscapePlugin::handleMouseEnterEvent(const WebMouseEvent& mouseEvent) in handleMouseEnterEvent() argument
681 return platformHandleMouseEnterEvent(mouseEvent); in handleMouseEnterEvent()
684 bool NetscapePlugin::handleMouseLeaveEvent(const WebMouseEvent& mouseEvent) in handleMouseLeaveEvent() argument
688 return platformHandleMouseLeaveEvent(mouseEvent); in handleMouseLeaveEvent()
/external/webkit/Source/WebKit/chromium/src/
DChromeClientImpl.cpp291 const WebMouseEvent* mouseEvent = static_cast<const WebMouseEvent*>(inputEvent); in currentEventShouldCauseBackgroundTab() local
295 switch (mouseEvent->button) { in currentEventShouldCauseBackgroundTab()
308 bool ctrl = mouseEvent->modifiers & WebMouseEvent::ControlKey; in currentEventShouldCauseBackgroundTab()
309 bool shift = mouseEvent->modifiers & WebMouseEvent::ShiftKey; in currentEventShouldCauseBackgroundTab()
310 bool alt = mouseEvent->modifiers & WebMouseEvent::AltKey; in currentEventShouldCauseBackgroundTab()
311 bool meta = mouseEvent->modifiers & WebMouseEvent::MetaKey; in currentEventShouldCauseBackgroundTab()
/external/webkit/Source/WebKit2/PluginProcess/
DPluginControllerProxy.messages.in63 HandleMouseEvent(WebKit::WebMouseEvent mouseEvent) -> (bool handled) Delayed
69 HandleMouseEnterEvent(WebKit::WebMouseEvent mouseEvent) -> (bool handled)
72 HandleMouseLeaveEvent(WebKit::WebMouseEvent mouseEvent) -> (bool handled)
/external/webkit/Source/WebKit/chromium/public/win/
DWebInputEventFactory.h47 WEBKIT_API static WebMouseEvent mouseEvent(HWND, UINT, WPARAM, LPARAM);
/external/webkit/Source/WebKit/chromium/public/mac/
DWebInputEventFactory.h54 WEBKIT_API static WebMouseEvent mouseEvent(NSEvent*, NSView*);

123