Home
last modified time | relevance | path

Searched refs:WebMouseEvent (Results 1 – 25 of 80) sorted by relevance

1234

/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/win/
DNetscapePluginWin.cpp178 NPEvent toNP(const WebMouseEvent& event) in toNP()
194 case WebMouseEvent::LeftButton: in toNP()
197 case WebMouseEvent::MiddleButton: in toNP()
200 case WebMouseEvent::RightButton: in toNP()
203 case WebMouseEvent::NoButton: in toNP()
209 case WebMouseEvent::LeftButton: in toNP()
212 case WebMouseEvent::MiddleButton: in toNP()
215 case WebMouseEvent::RightButton: in toNP()
218 case WebMouseEvent::NoButton: in toNP()
225 case WebMouseEvent::LeftButton: in toNP()
[all …]
/external/webkit/Source/WebKit2/Shared/
DWebMouseEvent.cpp36 WebMouseEvent::WebMouseEvent() in WebMouseEvent() function in WebKit::WebMouseEvent
49 WebMouseEvent::WebMouseEvent(Type type, Button button, const IntPoint& position, const IntPoint& gl… in WebMouseEvent() function in WebKit::WebMouseEvent
66 WebMouseEvent::WebMouseEvent(Type type, Button button, const IntPoint& position, const IntPoint& gl… in WebMouseEvent() function in WebKit::WebMouseEvent
81 void WebMouseEvent::encode(CoreIPC::ArgumentEncoder* encoder) const in encode()
93 bool WebMouseEvent::decode(CoreIPC::ArgumentDecoder* decoder, WebMouseEvent& t) in decode()
106 bool WebMouseEvent::isMouseEventType(Type type) in isMouseEventType()
DWebEventConversion.cpp35 WebKit2PlatformMouseEvent(const WebMouseEvent& webEvent) in WebKit2PlatformMouseEvent()
52 case WebMouseEvent::NoButton: in WebKit2PlatformMouseEvent()
55 case WebMouseEvent::LeftButton: in WebKit2PlatformMouseEvent()
58 case WebMouseEvent::MiddleButton: in WebKit2PlatformMouseEvent()
61 case WebMouseEvent::RightButton: in WebKit2PlatformMouseEvent()
93 WebCore::PlatformMouseEvent platform(const WebMouseEvent& webEvent) in platform()
/external/webkit/Source/WebKit/chromium/src/gtk/
DWebInputEventFactory.cpp54 static WebKit::WebMouseEvent::Button gLastClickButton = WebKit::WebMouseEvent::ButtonNone;
80 gLastClickButton = WebKit::WebMouseEvent::ButtonNone; in resetClickCountState()
406 WebMouseEvent WebInputEventFactory::mouseEvent(const GdkEventButton* event) in mouseEvent()
408 WebMouseEvent result; in mouseEvent()
434 result.button = WebMouseEvent::ButtonNone; in mouseEvent()
436 result.button = WebMouseEvent::ButtonLeft; in mouseEvent()
438 result.button = WebMouseEvent::ButtonMiddle; in mouseEvent()
440 result.button = WebMouseEvent::ButtonRight; in mouseEvent()
462 WebMouseEvent WebInputEventFactory::mouseEvent(const GdkEventMotion* event) in mouseEvent()
464 WebMouseEvent result; in mouseEvent()
[all …]
/external/webkit/Source/WebKit2/Shared/gtk/
DWebEventFactory.cpp67 static inline WebMouseEvent::Button buttonForEvent(GdkEvent* event) in buttonForEvent()
73 button = WebMouseEvent::NoButton; in buttonForEvent()
75 button = WebMouseEvent::LeftButton; in buttonForEvent()
77 button = WebMouseEvent::MiddleButton; in buttonForEvent()
79 button = WebMouseEvent::RightButton; in buttonForEvent()
86 button = WebMouseEvent::LeftButton; in buttonForEvent()
88 button = WebMouseEvent::MiddleButton; in buttonForEvent()
90 button = WebMouseEvent::RightButton; in buttonForEvent()
96 return static_cast<WebMouseEvent::Button>(button); in buttonForEvent()
99 WebMouseEvent WebEventFactory::createWebMouseEvent(GdkEvent *event, int currentClickCount) in createWebMouseEvent()
[all …]
/external/webkit/Source/WebKit2/Shared/win/
DWebEventFactory.cpp72 static inline int clickCount(WebEvent::Type type, WebMouseEvent::Button button, const POINT& positi… in clickCount()
77 static WebMouseEvent::Button lastClickButton = WebMouseEvent::LeftButton; in clickCount()
327 WebMouseEvent WebEventFactory::createWebMouseEvent(HWND hWnd, UINT message, WPARAM wParam, LPARAM l… in createWebMouseEvent()
330 WebMouseEvent::Button button = WebMouseEvent::NoButton; in createWebMouseEvent()
335 button = WebMouseEvent::LeftButton; in createWebMouseEvent()
337 button = WebMouseEvent::MiddleButton; in createWebMouseEvent()
339 button = WebMouseEvent::RightButton; in createWebMouseEvent()
344 button = WebMouseEvent::LeftButton; in createWebMouseEvent()
346 button = WebMouseEvent::MiddleButton; in createWebMouseEvent()
348 button = WebMouseEvent::RightButton; in createWebMouseEvent()
[all …]
/external/webkit/Tools/DumpRenderTree/chromium/
DEventSender.cpp68 WebMouseEvent::Button EventSender::pressedButton = WebMouseEvent::ButtonNone;
69 WebMouseEvent::Button EventSender::lastButtonType = WebMouseEvent::ButtonNone;
80 WebMouseEvent::Button buttonType; // For MouseUp.
86 , buttonType(WebMouseEvent::ButtonNone) in SavedEvent()
133 static void initMouseEvent(WebInputEvent::Type t, WebMouseEvent::Button b, in initMouseEvent()
134 const gfx::Point& pos, WebMouseEvent* e) in initMouseEvent()
305 pressedButton = WebMouseEvent::ButtonNone; in reset()
321 lastButtonType = WebMouseEvent::ButtonNone; in reset()
335 WebMouseEvent event; in doDragDrop()
347 WebMouseEvent::Button EventSender::getButtonTypeFromButtonNumber(int buttonCode) in getButtonTypeFromButtonNumber()
[all …]
DEventSender.h122 void doMouseMove(const WebKit::WebMouseEvent&);
123 void doMouseUp(const WebKit::WebMouseEvent&);
128 static WebKit::WebMouseEvent::Button getButtonTypeFromButtonNumber(int);
138 void updateClickCountForButton(WebKit::WebMouseEvent::Button);
155 static WebKit::WebMouseEvent::Button pressedButton;
160 static WebKit::WebMouseEvent::Button lastButtonType;
/external/webkit/Source/WebKit/chromium/src/win/
DWebInputEventFactory.cpp179 WebMouseEvent WebInputEventFactory::mouseEvent(HWND hwnd, UINT message, in mouseEvent()
182 WebMouseEvent result; //(WebInputEvent::Uninitialized()); in mouseEvent()
188 result.button = WebMouseEvent::ButtonLeft; in mouseEvent()
190 result.button = WebMouseEvent::ButtonMiddle; in mouseEvent()
192 result.button = WebMouseEvent::ButtonRight; in mouseEvent()
194 result.button = WebMouseEvent::ButtonNone; in mouseEvent()
198 result.button = WebMouseEvent::ButtonNone; in mouseEvent()
206 result.button = WebMouseEvent::ButtonLeft; in mouseEvent()
211 result.button = WebMouseEvent::ButtonMiddle; in mouseEvent()
216 result.button = WebMouseEvent::ButtonRight; in mouseEvent()
[all …]
/external/webkit/Source/WebKit/chromium/src/
DWebPopupMenuImpl.cpp90 void WebPopupMenuImpl::MouseMove(const WebMouseEvent& event) in MouseMove()
99 void WebPopupMenuImpl::MouseLeave(const WebMouseEvent& event) in MouseLeave()
104 void WebPopupMenuImpl::MouseDown(const WebMouseEvent& event) in MouseDown()
109 void WebPopupMenuImpl::MouseUp(const WebMouseEvent& event) in MouseUp()
191 MouseMove(*static_cast<const WebMouseEvent*>(&inputEvent)); in handleInputEvent()
195 MouseLeave(*static_cast<const WebMouseEvent*>(&inputEvent)); in handleInputEvent()
203 MouseDown(*static_cast<const WebMouseEvent*>(&inputEvent)); in handleInputEvent()
207 MouseUp(*static_cast<const WebMouseEvent*>(&inputEvent)); in handleInputEvent()
DWebPopupMenuImpl.h52 class WebMouseEvent; variable
91 void MouseMove(const WebMouseEvent&);
92 void MouseLeave(const WebMouseEvent&);
93 void MouseDown(const WebMouseEvent&);
94 void MouseUp(const WebMouseEvent&);
95 void MouseDoubleClick(const WebMouseEvent&);
DWebInputEventConversion.h51 class WebMouseEvent; variable
60 PlatformMouseEventBuilder(WebCore::Widget*, const WebMouseEvent&);
92 class WebMouseEventBuilder : public WebMouseEvent {
DWebViewImpl.h84 class WebMouseEvent; variable
248 void mouseMove(const WebMouseEvent&);
249 void mouseLeave(const WebMouseEvent&);
250 void mouseDown(const WebMouseEvent&);
251 void mouseUp(const WebMouseEvent&);
252 void mouseContextMenu(const WebMouseEvent&);
253 void mouseDoubleClick(const WebMouseEvent&);
/external/webkit/Source/WebKit/chromium/public/gtk/
DWebInputEventFactory.h45 class WebMouseEvent; variable
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/InjectedBundle/
DInjectedBundleNavigationAction.cpp49 static WebMouseEvent::Button mouseButtonForMouseEvent(const MouseEvent* mouseEvent) in mouseButtonForMouseEvent()
52 return WebMouseEvent::NoButton; in mouseButtonForMouseEvent()
55 return WebMouseEvent::NoButton; in mouseButtonForMouseEvent()
57 return static_cast<WebMouseEvent::Button>(mouseEvent->button()); in mouseButtonForMouseEvent()
77 WebMouseEvent::Button InjectedBundleNavigationAction::mouseButtonForNavigationAction(const Navigati… in mouseButtonForNavigationAction()
DInjectedBundleNavigationAction.h53 static WebMouseEvent::Button mouseButtonForNavigationAction(const WebCore::NavigationAction&);
57 WebMouseEvent::Button mouseButton() const { return m_mouseButton; } in mouseButton()
68 WebMouseEvent::Button m_mouseButton;
/external/webkit/Source/WebKit2/Shared/qt/
DWebEventFactoryQt.cpp42 static WebMouseEvent::Button mouseButtonForEvent(QGraphicsSceneMouseEvent *event) in mouseButtonForEvent()
45 return WebMouseEvent::LeftButton; in mouseButtonForEvent()
47 return WebMouseEvent::RightButton; in mouseButtonForEvent()
49 return WebMouseEvent::MiddleButton; in mouseButtonForEvent()
50 return WebMouseEvent::NoButton; in mouseButtonForEvent()
97 WebMouseEvent WebEventFactory::createWebMouseEvent(QGraphicsSceneMouseEvent* event, int eventClickC… in createWebMouseEvent()
102 WebMouseEvent::Button button = mouseButtonForEvent(event); in createWebMouseEvent()
109 …return WebMouseEvent(type, button, event->pos().toPoint(), event->screenPos(), deltaX, deltaY, 0.0… in createWebMouseEvent()
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/x11/
DNetscapePluginX11.cpp283 static inline void setCommonMouseEventFields(XEventType& xEvent, const WebMouseEvent& webEvent, con… in setCommonMouseEventFields()
296 static inline void setXMotionEventFields(XEvent& xEvent, const WebMouseEvent& webEvent, const WebCo… in setXMotionEventFields()
303 static inline void setXButtonEventFields(XEvent& xEvent, const WebMouseEvent& webEvent, const WebCo… in setXButtonEventFields()
310 case WebMouseEvent::LeftButton: in setXButtonEventFields()
313 case WebMouseEvent::MiddleButton: in setXButtonEventFields()
316 case WebMouseEvent::RightButton: in setXButtonEventFields()
322 static inline void setXCrossingEventFields(XEvent& xEvent, const WebMouseEvent& webEvent, const Web… in setXCrossingEventFields()
333 bool NetscapePlugin::platformHandleMouseEvent(const WebMouseEvent& event) in platformHandleMouseEvent()
372 bool NetscapePlugin::platformHandleMouseEnterEvent(const WebMouseEvent& event) in platformHandleMouseEnterEvent()
384 bool NetscapePlugin::platformHandleMouseLeaveEvent(const WebMouseEvent& event) in platformHandleMouseLeaveEvent()
/external/webkit/Source/WebKit/chromium/public/
DWebInputEvent.h245 class WebMouseEvent : public WebInputEvent {
264 WebMouseEvent(unsigned sizeParam = sizeof(WebMouseEvent))
280 class WebMouseWheelEvent : public WebMouseEvent {
294 : WebMouseEvent(sizeParam) in WebMouseEvent() function
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
DNetscapePluginNone.cpp58 bool NetscapePlugin::platformHandleMouseEvent(const WebMouseEvent&) in platformHandleMouseEvent() argument
72 bool NetscapePlugin::platformHandleMouseEnterEvent(const WebMouseEvent&) in platformHandleMouseEnterEvent() argument
77 bool NetscapePlugin::platformHandleMouseLeaveEvent(const WebMouseEvent&) in platformHandleMouseLeaveEvent() argument
DNetscapePlugin.h134 bool platformHandleMouseEvent(const WebMouseEvent&);
136 bool platformHandleMouseEnterEvent(const WebMouseEvent&);
137 bool platformHandleMouseLeaveEvent(const WebMouseEvent&);
165 virtual bool handleMouseEvent(const WebMouseEvent&);
167 virtual bool handleMouseEnterEvent(const WebMouseEvent&);
168 virtual bool handleMouseLeaveEvent(const WebMouseEvent&);
/external/chromium/webkit/glue/
Dcontext_menu_unittest.cc21 using WebKit::WebMouseEvent;
52 WebMouseEvent mouse_event; in TEST_F()
54 mouse_event.button = WebMouseEvent::ButtonRight; in TEST_F()
/external/webkit/Source/WebKit/chromium/tests/
DWebInputEventFactoryTestGtk.cpp39 using WebKit::WebMouseEvent;
55 WebMouseEvent firstClickEvent = WebInputEventFactory::mouseEvent(&firstClick); in TEST()
61 WebMouseEvent secondClickEvent = WebInputEventFactory::mouseEvent(&secondClick); in TEST()
128 WebMouseEvent mouseDownEvent; in TEST()
129 WebMouseEvent mouseUpEvent; in TEST()
/external/webkit/Source/WebKit2/WebProcess/Plugins/
DPlugin.h50 class WebMouseEvent; variable
131 virtual bool handleMouseEvent(const WebMouseEvent&) = 0;
137 virtual bool handleMouseEnterEvent(const WebMouseEvent&) = 0;
140 virtual bool handleMouseLeaveEvent(const WebMouseEvent&) = 0;
/external/webkit/Source/WebKit2/WebProcess/WebPage/
DPageOverlay.h40 class WebMouseEvent; variable
54 virtual bool mouseEvent(PageOverlay*, const WebMouseEvent&) = 0;
67 bool mouseEvent(const WebMouseEvent&);

1234