Home
last modified time | relevance | path

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

123456

/external/chromium_org/third_party/WebKit/Source/web/tests/
DChromeClientImplTest.cpp103 …WebNavigationPolicy getNavigationPolicyWithMouseEvent(int modifiers, WebMouseEvent::Button button,… in getNavigationPolicyWithMouseEvent()
105 WebMouseEvent event; in getNavigationPolicyWithMouseEvent()
134 WebMouseEvent::Button button = WebMouseEvent::ButtonLeft; in TEST_F()
143 WebMouseEvent::Button button = WebMouseEvent::ButtonLeft; in TEST_F()
152 WebMouseEvent::Button button = WebMouseEvent::ButtonLeft; in TEST_F()
161 WebMouseEvent::Button button = WebMouseEvent::ButtonLeft; in TEST_F()
174 WebMouseEvent::Button button = WebMouseEvent::ButtonLeft; in TEST_F()
187 WebMouseEvent::Button button = WebMouseEvent::ButtonLeft; in TEST_F()
201 WebMouseEvent::Button button = WebMouseEvent::ButtonLeft; in TEST_F()
215 WebMouseEvent::Button button = WebMouseEvent::ButtonLeft; in TEST_F()
[all …]
/external/chromium_org/chrome/browser/
Dreferrer_policy_browsertest.cc124 blink::WebMouseEvent::Button button, in RunReferrerTest()
137 (button == blink::WebMouseEvent::ButtonNone ? "false" : "true") + in RunReferrerTest()
154 if (button != blink::WebMouseEvent::ButtonNone) { in RunReferrerTest()
155 blink::WebMouseEvent mouse_event; in RunReferrerTest()
193 blink::WebMouseEvent::ButtonNone, in IN_PROC_BROWSER_TEST_F()
200 blink::WebMouseEvent::ButtonNone, in IN_PROC_BROWSER_TEST_F()
207 blink::WebMouseEvent::ButtonLeft, in IN_PROC_BROWSER_TEST_F()
214 blink::WebMouseEvent::ButtonLeft, in IN_PROC_BROWSER_TEST_F()
221 blink::WebMouseEvent::ButtonMiddle, in IN_PROC_BROWSER_TEST_F()
228 blink::WebMouseEvent::ButtonMiddle, in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/content/browser/renderer_host/input/
Dweb_input_event_builders_gtk.cc17 using blink::WebMouseEvent;
29 static WebMouseEvent::Button last_click_button = WebMouseEvent::ButtonNone;
56 last_click_button = blink::WebMouseEvent::ButtonNone; in ResetClickCountState()
420 WebMouseEvent WebMouseEventBuilder::Build(const GdkEventButton* event) { in Build()
421 WebMouseEvent result; in Build()
447 result.button = WebMouseEvent::ButtonNone; in Build()
449 result.button = WebMouseEvent::ButtonLeft; in Build()
451 result.button = WebMouseEvent::ButtonMiddle; in Build()
453 result.button = WebMouseEvent::ButtonRight; in Build()
476 WebMouseEvent WebMouseEventBuilder::Build(const GdkEventMotion* event) { in Build()
[all …]
Dweb_input_event_builders_win.cc12 using blink::WebMouseEvent;
184 WebMouseEvent WebMouseEventBuilder::Build(HWND hwnd, UINT message, in Build()
186 WebMouseEvent result; in Build()
192 result.button = WebMouseEvent::ButtonLeft; in Build()
194 result.button = WebMouseEvent::ButtonMiddle; in Build()
196 result.button = WebMouseEvent::ButtonRight; in Build()
198 result.button = WebMouseEvent::ButtonNone; in Build()
202 result.button = WebMouseEvent::ButtonNone; in Build()
210 result.button = WebMouseEvent::ButtonLeft; in Build()
215 result.button = WebMouseEvent::ButtonMiddle; in Build()
[all …]
Dweb_input_event_builders_android.cc18 using blink::WebMouseEvent;
51 WebMouseEvent WebMouseEventBuilder::Build(blink::WebInputEvent::Type type, in Build()
52 WebMouseEvent::Button button, in Build()
59 WebMouseEvent result; in Build()
73 result.button = WebMouseEvent::ButtonNone; in Build()
90 result.button = WebMouseEvent::ButtonNone; in Build()
Dweb_input_event_builders_gtk.h30 static blink::WebMouseEvent Build(const GdkEventButton* event);
31 static blink::WebMouseEvent Build(const GdkEventMotion* event);
32 static blink::WebMouseEvent Build(const GdkEventCrossing* event);
Dsynthetic_gesture_target_base.cc18 using blink::WebMouseEvent;
65 const WebMouseEvent* web_mouse = in DispatchInputEventToPlatform()
66 static_cast<const WebMouseEvent*>(web_event); in DispatchInputEventToPlatform()
87 const blink::WebMouseEvent& web_mouse, in DispatchWebMouseEventToPlatform()
Dsynthetic_gesture_target_aura.cc104 int WebMouseEventButtonToFlags(blink::WebMouseEvent::Button button) { in WebMouseEventButtonToFlags()
106 case blink::WebMouseEvent::ButtonLeft: in WebMouseEventButtonToFlags()
109 case blink::WebMouseEvent::ButtonMiddle: in WebMouseEventButtonToFlags()
112 case blink::WebMouseEvent::ButtonRight: in WebMouseEventButtonToFlags()
125 const blink::WebMouseEvent& web_mouse, in DispatchWebMouseEventToPlatform()
/external/chromium_org/third_party/WebKit/Source/web/
DWebInputEventFactoryGtk.cpp54 static blink::WebMouseEvent::Button gLastClickButton = blink::WebMouseEvent::ButtonNone;
80 gLastClickButton = blink::WebMouseEvent::ButtonNone; in resetClickCountState()
447 WebMouseEvent WebInputEventFactory::mouseEvent(const GdkEventButton* event) in mouseEvent()
449 WebMouseEvent result; in mouseEvent()
475 result.button = WebMouseEvent::ButtonNone; in mouseEvent()
477 result.button = WebMouseEvent::ButtonLeft; in mouseEvent()
479 result.button = WebMouseEvent::ButtonMiddle; in mouseEvent()
481 result.button = WebMouseEvent::ButtonRight; in mouseEvent()
503 WebMouseEvent WebInputEventFactory::mouseEvent(const GdkEventMotion* event) in mouseEvent()
505 WebMouseEvent result; in mouseEvent()
[all …]
DWebInputEventFactoryWin.cpp224 WebMouseEvent WebInputEventFactory::mouseEvent(HWND hwnd, UINT message, in mouseEvent()
227 WebMouseEvent result; //(WebInputEvent::Uninitialized()); in mouseEvent()
233 result.button = WebMouseEvent::ButtonLeft; in mouseEvent()
235 result.button = WebMouseEvent::ButtonMiddle; in mouseEvent()
237 result.button = WebMouseEvent::ButtonRight; in mouseEvent()
239 result.button = WebMouseEvent::ButtonNone; in mouseEvent()
243 result.button = WebMouseEvent::ButtonNone; in mouseEvent()
251 result.button = WebMouseEvent::ButtonLeft; in mouseEvent()
256 result.button = WebMouseEvent::ButtonMiddle; in mouseEvent()
261 result.button = WebMouseEvent::ButtonRight; in mouseEvent()
[all …]
DPageWidgetDelegate.h50 class WebMouseEvent; variable
56 virtual void handleMouseMove(WebCore::Frame& mainFrame, const WebMouseEvent&);
57 virtual void handleMouseLeave(WebCore::Frame& mainFrame, const WebMouseEvent&);
58 virtual void handleMouseDown(WebCore::Frame& mainFrame, const WebMouseEvent&);
59 virtual void handleMouseUp(WebCore::Frame& mainFrame, const WebMouseEvent&);
DPageWidgetDelegate.cpp127 handler.handleMouseMove(*frame, *static_cast<const WebMouseEvent*>(&event)); in handleInputEvent()
132 handler.handleMouseLeave(*frame, *static_cast<const WebMouseEvent*>(&event)); in handleInputEvent()
137 handler.handleMouseDown(*frame, *static_cast<const WebMouseEvent*>(&event)); in handleInputEvent()
142 handler.handleMouseUp(*frame, *static_cast<const WebMouseEvent*>(&event)); in handleInputEvent()
198 void PageWidgetEventHandler::handleMouseMove(Frame& mainFrame, const WebMouseEvent& event) in handleMouseMove()
203 void PageWidgetEventHandler::handleMouseLeave(Frame& mainFrame, const WebMouseEvent& event) in handleMouseLeave()
208 void PageWidgetEventHandler::handleMouseDown(Frame& mainFrame, const WebMouseEvent& event) in handleMouseDown()
213 void PageWidgetEventHandler::handleMouseUp(Frame& mainFrame, const WebMouseEvent& event) in handleMouseUp()
DWebPopupMenuImpl.h54 class WebMouseEvent; variable
96 void handleMouseMove(const WebMouseEvent&);
97 void handleMouseLeave(const WebMouseEvent&);
98 void handleMouseDown(const WebMouseEvent&);
99 void handleMouseUp(const WebMouseEvent&);
100 void handleMouseDoubleClick(const WebMouseEvent&);
DWebPopupMenuImpl.cpp94 void WebPopupMenuImpl::handleMouseMove(const WebMouseEvent& event) in handleMouseMove()
107 void WebPopupMenuImpl::handleMouseLeave(const WebMouseEvent& event) in handleMouseLeave()
112 void WebPopupMenuImpl::handleMouseDown(const WebMouseEvent& event) in handleMouseDown()
117 void WebPopupMenuImpl::handleMouseUp(const WebMouseEvent& event) in handleMouseUp()
218 handleMouseMove(*static_cast<const WebMouseEvent*>(&inputEvent)); in handleInputEvent()
222 handleMouseLeave(*static_cast<const WebMouseEvent*>(&inputEvent)); in handleInputEvent()
230 handleMouseDown(*static_cast<const WebMouseEvent*>(&inputEvent)); in handleInputEvent()
234 handleMouseUp(*static_cast<const WebMouseEvent*>(&inputEvent)); in handleInputEvent()
DWebInputEventFactoryAndroid.cpp71 WebMouseEvent WebInputEventFactory::mouseEvent(MouseEventType type, in mouseEvent()
72 WebMouseEvent::Button button, in mouseEvent()
79 WebMouseEvent result; in mouseEvent()
100 result.button = WebMouseEvent::ButtonNone; in mouseEvent()
129 result.button = WebMouseEvent::ButtonNone; in mouseWheelEvent()
/external/chromium_org/content/renderer/
Drender_widget_fullscreen_pepper.cc35 using blink::WebMouseEvent;
66 WebMouseEvent WebMouseEventFromGestureEvent(const WebGestureEvent& gesture) { in WebMouseEventFromGestureEvent()
67 WebMouseEvent mouse; in WebMouseEventFromGestureEvent()
102 mouse.button = WebMouseEvent::ButtonLeft; in WebMouseEventFromGestureEvent()
213 WebMouseEvent mouse; in handleInputEvent()
230 mouse.button = WebMouseEvent::ButtonLeft; in handleInputEvent()
240 WebMouseEvent mouse = WebMouseEventFromGestureEvent(*gesture_event); in handleInputEvent()
255 const WebMouseEvent& mouse_event = in handleInputEvent()
256 reinterpret_cast<const WebMouseEvent&>(event); in handleInputEvent()
263 mouse_event.button == WebMouseEvent::ButtonRight; in handleInputEvent()
[all …]
Dmouse_lock_dispatcher_browsertest.cc24 bool(const blink::WebMouseEvent&));
93 dispatcher()->WillHandleMouseEvent(blink::WebMouseEvent()); in TEST_F()
123 dispatcher()->WillHandleMouseEvent(blink::WebMouseEvent()); in TEST_F()
174 dispatcher()->WillHandleMouseEvent(blink::WebMouseEvent()); in TEST_F()
182 dispatcher()->WillHandleMouseEvent(blink::WebMouseEvent()); in TEST_F()
190 dispatcher()->WillHandleMouseEvent(blink::WebMouseEvent()); in TEST_F()
219 dispatcher()->WillHandleMouseEvent(blink::WebMouseEvent()); in TEST_F()
Dmouse_lock_dispatcher.h12 class WebMouseEvent; variable
31 const blink::WebMouseEvent& event) = 0;
46 bool WillHandleMouseEvent(const blink::WebMouseEvent& event);
/external/chromium_org/third_party/WebKit/Source/testing/runner/
DEventSender.cpp77 WebMouseEvent::Button EventSender::pressedButton = WebMouseEvent::ButtonNone;
78 WebMouseEvent::Button EventSender::lastButtonType = WebMouseEvent::ButtonNone;
91 WebMouseEvent::Button buttonType; // For MouseUp.
97 , buttonType(WebMouseEvent::ButtonNone) in SavedEvent()
144 void initMouseEvent(WebInputEvent::Type t, WebMouseEvent::Button b, const WebPoint& pos, WebMouseEv… in initMouseEvent()
337 if (webview() && pressedButton != WebMouseEvent::ButtonNone) in reset()
339 pressedButton = WebMouseEvent::ButtonNone; in reset()
356 lastButtonType = WebMouseEvent::ButtonNone; in reset()
367 WebMouseEvent event; in doDragDrop()
392 WebMouseEvent::Button EventSender::getButtonTypeFromButtonNumber(int buttonCode) in getButtonTypeFromButtonNumber()
[all …]
DEventSender.h164 void doMouseMove(const blink::WebMouseEvent&);
165 void doMouseUp(const blink::WebMouseEvent&);
170 static blink::WebMouseEvent::Button getButtonTypeFromButtonNumber(int);
180 void finishDragAndDrop(const blink::WebMouseEvent&, blink::WebDragOperation);
181 void updateClickCountForButton(blink::WebMouseEvent::Button);
204 static blink::WebMouseEvent::Button pressedButton;
209 static blink::WebMouseEvent::Button lastButtonType;
/external/chromium_org/third_party/WebKit/public/web/gtk/
DWebInputEventFactory.h45 class WebMouseEvent; variable
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/content/browser/renderer_host/
Dweb_input_event_aura.cc65 blink::WebMouseEvent MakeUntranslatedWebMouseEventFromNativeEvent(
132 webkit_event.button = blink::WebMouseEvent::ButtonNone; in MakeWebMouseWheelEventFromAuraEvent()
179 blink::WebMouseEvent MakeWebMouseEventFromAuraEvent(
207 blink::WebMouseEvent MakeWebMouseEvent(ui::MouseEvent* event) { in MakeWebMouseEvent()
209 blink::WebMouseEvent webkit_event = in MakeWebMouseEvent()
344 blink::WebMouseEvent MakeWebMouseEventFromAuraEvent(ui::MouseEvent* event) { in MakeWebMouseEventFromAuraEvent()
345 blink::WebMouseEvent webkit_event; in MakeWebMouseEventFromAuraEvent()
350 webkit_event.button = blink::WebMouseEvent::ButtonNone; in MakeWebMouseEventFromAuraEvent()
352 webkit_event.button = blink::WebMouseEvent::ButtonLeft; in MakeWebMouseEventFromAuraEvent()
354 webkit_event.button = blink::WebMouseEvent::ButtonMiddle; in MakeWebMouseEventFromAuraEvent()
[all …]
/external/chromium_org/content/common/input/
Dsynthetic_web_input_event_builders.cc15 using blink::WebMouseEvent;
20 WebMouseEvent SyntheticWebMouseEventBuilder::Build( in Build()
22 WebMouseEvent result; in Build()
27 WebMouseEvent SyntheticWebMouseEventBuilder::Build( in Build()
33 WebMouseEvent result = Build(type); in Build()
41 result.button = WebMouseEvent::ButtonLeft; in Build()
43 result.button = WebMouseEvent::ButtonNone; in Build()
/external/chromium_org/content/renderer/input/
Dinput_event_filter_unittest.cc18 using blink::WebMouseEvent;
99 void InitMouseEvent(WebMouseEvent* event, WebInputEvent::Type type, in InitMouseEvent()
104 new (event) WebMouseEvent(); in InitMouseEvent()
120 const WebMouseEvent events[], in AddEventsToFilter()
166 WebMouseEvent kEvents[3]; in TEST_F()
263 WebMouseEvent mouse_down; in TEST_F()
264 mouse_down.type = WebMouseEvent::MouseDown; in TEST_F()
265 WebMouseEvent mouse_up; in TEST_F()
266 mouse_up.type = WebMouseEvent::MouseUp; in TEST_F()
/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()

123456