Searched refs:mouseEvent (Results 1 - 25 of 58) sorted by relevance

123

/external/webkit/Source/WebKit/chromium/tests/
H A DWebInputEventFactoryTestGtk.cpp55 WebMouseEvent firstClickEvent = WebInputEventFactory::mouseEvent(&firstClick);
61 WebMouseEvent secondClickEvent = WebInputEventFactory::mouseEvent(&secondClick);
66 firstClickEvent = WebInputEventFactory::mouseEvent(&firstClick);
72 secondClickEvent = WebInputEventFactory::mouseEvent(&secondClick);
77 firstClickEvent = WebInputEventFactory::mouseEvent(&firstClick);
84 secondClickEvent = WebInputEventFactory::mouseEvent(&secondClick);
89 firstClickEvent = WebInputEventFactory::mouseEvent(&firstClick);
96 secondClickEvent = WebInputEventFactory::mouseEvent(&secondClick);
101 firstClickEvent = WebInputEventFactory::mouseEvent(&firstClick);
108 secondClickEvent = WebInputEventFactory::mouseEvent(
[all...]
H A DPopupMenuTest.cpp238 PlatformMouseEvent mouseEvent(point, point, LeftButton, MouseEventPressed,
240 m_webView->selectPopup()->handleMouseDownEvent(mouseEvent);
244 PlatformMouseEvent mouseEvent(point, point, LeftButton, MouseEventReleased,
246 m_webView->selectPopup()->handleMouseReleaseEvent(mouseEvent);
349 PlatformMouseEvent mouseEvent(row1Point, row1Point, NoButton, MouseEventMoved,
351 m_webView->selectPopup()->handleMouseMoveEvent(mouseEvent);
/external/webkit/Source/WebKit/chromium/public/gtk/
H A 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/InjectedBundle/
H A DInjectedBundleNavigationAction.cpp49 static WebMouseEvent::Button mouseButtonForMouseEvent(const MouseEvent* mouseEvent) argument
51 if (!mouseEvent)
54 if (!mouseEvent->buttonDown())
57 return static_cast<WebMouseEvent::Button>(mouseEvent->button());
93 if (const MouseEvent* mouseEvent = mouseEventForNavigationAction(navigationAction)) {
94 m_hitTestResult = InjectedBundleHitTestResult::create(frame->coreFrame()->eventHandler()->hitTestResultAtPoint(mouseEvent->absoluteLocation(), false));
95 m_mouseButton = mouseButtonForMouseEvent(mouseEvent);
/external/webkit/Source/WebKit/chromium/public/win/
H A DWebInputEventFactory.h47 WEBKIT_API static WebMouseEvent mouseEvent(HWND, UINT, WPARAM, LPARAM);
/external/webkit/Source/WebKit2/WebProcess/WebPage/
H A DPageOverlay.cpp117 bool PageOverlay::mouseEvent(const WebMouseEvent& mouseEvent) argument
120 if (!bounds().contains(mouseEvent.position()))
123 return m_client->mouseEvent(this, mouseEvent);
H A DPageOverlay.h54 virtual bool mouseEvent(PageOverlay*, const WebMouseEvent&) = 0;
67 bool mouseEvent(const WebMouseEvent&);
H A DFindController.h62 virtual bool mouseEvent(PageOverlay*, const WebMouseEvent&);
/external/chromium/chrome/browser/ui/cocoa/
H A Dbase_view.h29 - (void)mouseEvent:(NSEvent *)theEvent;
/external/webkit/Source/WebKit/chromium/public/mac/
H A DWebInputEventFactory.h54 WEBKIT_API static WebMouseEvent mouseEvent(NSEvent*, NSView*);
/external/webkit/Source/WebKit/wince/
H A DWebView.cpp289 PlatformMouseEvent mouseEvent(hWnd, message, wParam, lParam);
291 bool insideThreshold = abs(globalPrevPoint.x() - mouseEvent.pos().x()) < ::GetSystemMetrics(SM_CXDOUBLECLK)
292 && abs(globalPrevPoint.y() - mouseEvent.pos().y()) < ::GetSystemMetrics(SM_CYDOUBLECLK);
309 if (insideThreshold && mouseEvent.button() == globalPrevButton)
315 globalPrevButton = mouseEvent.button();
316 globalPrevPoint = mouseEvent.pos();
318 mouseEvent.setClickCount(globalClickCount);
319 handled = m_page->mainFrame()->eventHandler()->handleMousePressEvent(mouseEvent);
322 mouseEvent.setClickCount(globalClickCount);
323 handled = m_page->mainFrame()->eventHandler()->handleMousePressEvent(mouseEvent);
329 m_page->mainFrame()->eventHandler()->handleMouseReleaseEvent(mouseEvent); variable
[all...]
/external/webkit/Source/WebCore/html/
H A DHTMLSummaryElement.cpp80 MouseEvent* mouseEvent = static_cast<MouseEvent*>(event);
81 if (mouseEvent->button() != LeftButton)
H A DImageInputType.cpp79 MouseEvent* mouseEvent = static_cast<MouseEvent*>(event->underlyingEvent()); local
80 m_clickLocation = IntPoint(mouseEvent->offsetX(), mouseEvent->offsetY());
H A DImageDocument.cpp391 MouseEvent* mouseEvent = static_cast<MouseEvent*>(event); local
392 m_doc->imageClicked(mouseEvent->x(), mouseEvent->y());
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/mac/
H A DNetscapePluginMac.mm459 static void fillInCocoaEventFromMouseEvent(NPCocoaEvent& event, const WebMouseEvent& mouseEvent, const WebCore::IntPoint& pluginLocation)
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, cons
[all...]
/external/webkit/Source/WebKit/win/
H A DWebActionPropertyBag.cpp122 if (const MouseEvent* mouseEvent = findMouseEvent(m_action.event())) {
124 V_UNKNOWN(pVar) = WebElementPropertyBag::createInstance(m_frame->eventHandler()->hitTestResultAtPoint(mouseEvent->absoluteLocation(), false));
129 if (const MouseEvent* mouseEvent = findMouseEvent(m_action.event())) {
131 V_I4(pVar) = mouseEvent->button();
H A DDOMEventsClasses.cpp410 WebCore::MouseEvent* mouseEvent = static_cast<WebCore::MouseEvent*>(m_event.get());
412 *result = mouseEvent->ctrlKey() ? TRUE : FALSE;
422 WebCore::MouseEvent* mouseEvent = static_cast<WebCore::MouseEvent*>(m_event.get());
424 *result = mouseEvent->shiftKey() ? TRUE : FALSE;
434 WebCore::MouseEvent* mouseEvent = static_cast<WebCore::MouseEvent*>(m_event.get());
436 *result = mouseEvent->altKey() ? TRUE : FALSE;
446 WebCore::MouseEvent* mouseEvent = static_cast<WebCore::MouseEvent*>(m_event.get());
448 *result = mouseEvent->metaKey() ? TRUE : FALSE;
H A DWebScrollBar.cpp227 PlatformMouseEvent mouseEvent((HWND)(ULONG64)window, msg, wParam, lParam);
230 m_scrollBar->mouseDown(mouseEvent);
236 m_scrollBar->mouseMoved(mouseEvent);
/external/webkit/Source/WebCore/html/shadow/
H A DSliderThumbElement.cpp197 MouseEvent* mouseEvent = static_cast<MouseEvent*>(event); local
198 isLeftButton = mouseEvent->button() == LeftButton;
201 MouseEvent* mouseEvent = static_cast<MouseEvent*>(event); local
202 bool isLeftButton = mouseEvent->button() == LeftButton;
230 MouseEvent* mouseEvent = static_cast<MouseEvent*>(event); local
232 setPositionFromPoint(mouseEvent->absoluteLocation());
H A DTextControlInnerElements.cpp275 MouseEvent* mouseEvent = static_cast<MouseEvent*>(event); local
276 IntPoint local = roundedIntPoint(box->absoluteToLocal(mouseEvent->absoluteLocation(), false, true));
277 if (mouseEvent->type() == eventNames().mousedownEvent && mouseEvent->button() == LeftButton) {
292 } else if (mouseEvent->type() == eventNames().mouseupEvent && mouseEvent->button() == LeftButton)
/external/webkit/Source/WebCore/rendering/
H A DRenderEmbeddedObject.cpp277 MouseEvent* mouseEvent = static_cast<MouseEvent*>(event);
280 m_mouseDownWasInMissingPluginIndicator = isInMissingPluginIndicator(mouseEvent);
298 if (m_mouseDownWasInMissingPluginIndicator && isInMissingPluginIndicator(mouseEvent)) {
306 setMissingPluginIndicatorIsPressed(m_mouseDownWasInMissingPluginIndicator && isInMissingPluginIndicator(mouseEvent));
/external/webkit/Source/WebKit/mac/Plugins/Hosted/
H A DWebHostedNetscapePluginView.mm93 _proxy->mouseEvent(self, event, NPCocoaEventMouseMoved);
314 _proxy->mouseEvent(self, event, NPCocoaEventMouseDown);
320 _proxy->mouseEvent(self, event, NPCocoaEventMouseUp);
326 _proxy->mouseEvent(self, event, NPCocoaEventMouseDragged);
335 _proxy->mouseEvent(self, event, NPCocoaEventMouseEntered);
341 _proxy->mouseEvent(self, event, NPCocoaEventMouseExited);
/external/webkit/Source/WebCore/page/
H A DEventHandler.cpp1348 bool EventHandler::handleMousePressEvent(const PlatformMouseEvent& mouseEvent) argument
1357 m_currentMousePosition = mouseEvent.pos();
1358 m_mouseDownTimestamp = mouseEvent.timestamp();
1365 m_mouseDownPos = view->windowToContents(mouseEvent.pos());
1382 IntPoint documentPoint = documentPointForWindowPoint(m_frame, mouseEvent.pos());
1383 MouseEventWithHitTestResults mev = m_frame->document()->prepareMouseEvent(request, documentPoint, mouseEvent);
1424 m_clickCount = mouseEvent.clickCount();
1429 IntPoint p = view->windowToContents(mouseEvent.pos());
1441 bool swallowEvent = dispatchMouseEvent(eventNames().mousedownEvent, targetNode(mev), true, m_clickCount, mouseEvent, true);
1449 mev = m_frame->document()->prepareMouseEvent(request, documentPoint, mouseEvent);
1489 handleMouseDoubleClickEvent(const PlatformMouseEvent& mouseEvent) argument
1561 handleMouseMoveEvent(const PlatformMouseEvent& mouseEvent, HitTestResult* hoveredNode) argument
1636 updateMouseEventTargetNode(targetNode(mev), mouseEvent, true); local
1683 handleMouseReleaseEvent(const PlatformMouseEvent& mouseEvent) argument
1924 updateMouseEventTargetNode(Node* targetNode, const PlatformMouseEvent& mouseEvent, bool fireMouseOverOut) argument
2025 dispatchMouseEvent(const AtomicString& eventType, Node* targetNode, bool , int clickCount, const PlatformMouseEvent& mouseEvent, bool setUnder) argument
[all...]
/external/webkit/Source/WebKit/chromium/src/
H A DChromeClientImpl.cpp291 const WebMouseEvent* mouseEvent = static_cast<const WebMouseEvent*>(inputEvent); local
295 switch (mouseEvent->button) {
308 bool ctrl = mouseEvent->modifiers & WebMouseEvent::ControlKey;
309 bool shift = mouseEvent->modifiers & WebMouseEvent::ShiftKey;
310 bool alt = mouseEvent->modifiers & WebMouseEvent::AltKey;
311 bool meta = mouseEvent->modifiers & WebMouseEvent::MetaKey;
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
H A DNetscapePlugin.cpp663 bool NetscapePlugin::handleMouseEvent(const WebMouseEvent& mouseEvent) argument
667 return platformHandleMouseEvent(mouseEvent);
677 bool NetscapePlugin::handleMouseEnterEvent(const WebMouseEvent& mouseEvent) argument
681 return platformHandleMouseEnterEvent(mouseEvent);
684 bool NetscapePlugin::handleMouseLeaveEvent(const WebMouseEvent& mouseEvent) argument
688 return platformHandleMouseLeaveEvent(mouseEvent);

Completed in 712 milliseconds

123