/external/webkit/Source/WebKit/chromium/tests/ |
D | WebInputEventFactoryTestGtk.cpp | 55 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 …]
|
D | PopupMenuTest.cpp | 238 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/ |
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 …]
|
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/ |
D | InjectedBundleNavigationAction.cpp | 49 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/ |
D | WebView.cpp | 289 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/ |
D | PageOverlay.cpp | 117 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()
|
D | PageOverlay.h | 54 virtual bool mouseEvent(PageOverlay*, const WebMouseEvent&) = 0; 67 bool mouseEvent(const WebMouseEvent&);
|
D | FindController.cpp | 324 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/ |
D | WebInputEventFactory.h | 52 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/ |
D | NetscapePluginMac.mm | 459 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/ |
D | SliderThumbElement.cpp | 197 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()
|
D | TextControlInnerElements.cpp | 275 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/ |
D | WebActionPropertyBag.cpp | 122 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()
|
D | DOMEventsClasses.cpp | 410 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()
|
D | WebScrollBar.cpp | 227 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/ |
D | EventHandler.cpp | 1348 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/ |
D | ImageInputType.cpp | 79 MouseEvent* mouseEvent = static_cast<MouseEvent*>(event->underlyingEvent()); in handleDOMActivateEvent() local 80 m_clickLocation = IntPoint(mouseEvent->offsetX(), mouseEvent->offsetY()); in handleDOMActivateEvent()
|
D | HTMLSummaryElement.cpp | 80 MouseEvent* mouseEvent = static_cast<MouseEvent*>(event); in defaultEventHandler() local 81 if (mouseEvent->button() != LeftButton) in defaultEventHandler()
|
D | ImageDocument.cpp | 391 MouseEvent* mouseEvent = static_cast<MouseEvent*>(event); in handleEvent() local 392 m_doc->imageClicked(mouseEvent->x(), mouseEvent->y()); in handleEvent()
|
/external/webkit/Source/WebCore/rendering/ |
D | RenderEmbeddedObject.cpp | 277 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/ |
D | NetscapePlugin.cpp | 663 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/ |
D | ChromeClientImpl.cpp | 291 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/ |
D | PluginControllerProxy.messages.in | 63 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/ |
D | WebInputEventFactory.h | 47 WEBKIT_API static WebMouseEvent mouseEvent(HWND, UINT, WPARAM, LPARAM);
|
/external/webkit/Source/WebKit/chromium/public/mac/ |
D | WebInputEventFactory.h | 54 WEBKIT_API static WebMouseEvent mouseEvent(NSEvent*, NSView*);
|