/external/chromium/webkit/glue/ |
context_menu_unittest.cc | 52 WebMouseEvent mouse_event; local 53 mouse_event.type = WebInputEvent::MouseDown; 54 mouse_event.button = WebMouseEvent::ButtonRight; 55 mouse_event.x = 250; 56 mouse_event.y = 250; 57 mouse_event.globalX = 250; 58 mouse_event.globalY = 250; 61 webview->handleInputEvent(mouse_event); 64 mouse_event.type = WebInputEvent::MouseUp; 65 webview->handleInputEvent(mouse_event); [all...] |
/external/chromium_org/remoting/client/plugin/ |
pepper_input_handler.cc | 70 protocol::MouseEvent mouse_event; local 73 mouse_event.set_button(protocol::MouseEvent::BUTTON_LEFT); 76 mouse_event.set_button(protocol::MouseEvent::BUTTON_MIDDLE); 79 mouse_event.set_button(protocol::MouseEvent::BUTTON_RIGHT); 84 if (mouse_event.has_button()) { 86 mouse_event.set_button_down(is_down); 87 mouse_event.set_x(pp_mouse_event.GetPosition().x()); 88 mouse_event.set_y(pp_mouse_event.GetPosition().y()); 89 input_stub_->InjectMouseEvent(mouse_event); 98 protocol::MouseEvent mouse_event; local 128 protocol::MouseEvent mouse_event; local [all...] |
/external/chromium_org/ash/wm/ |
user_activity_detector_unittest.cc | 107 ui::MouseEvent mouse_event( 109 SetEventTarget(window.get(), &mouse_event); 110 detector_->OnMouseEvent(&mouse_event); 111 EXPECT_FALSE(mouse_event.handled()); 121 detector_->OnMouseEvent(&mouse_event); 122 EXPECT_FALSE(mouse_event.handled()); 132 detector_->OnMouseEvent(&mouse_event); 133 EXPECT_FALSE(mouse_event.handled()); 141 detector_->OnMouseEvent(&mouse_event); 142 EXPECT_FALSE(mouse_event.handled()) [all...] |
/external/chromium_org/content/child/npapi/ |
plugin_web_event_converter_mac.mm | 114 const WebMouseEvent& mouse_event) { 115 cocoa_event_.data.mouse.pluginX = mouse_event.x; 116 cocoa_event_.data.mouse.pluginY = mouse_event.y; 117 cocoa_event_.data.mouse.modifierFlags |= CocoaModifiers(mouse_event); 118 cocoa_event_.data.mouse.clickCount = mouse_event.clickCount; 119 switch (mouse_event.button) { 130 cocoa_event_.data.mouse.buttonNumber = mouse_event.button; 133 switch (mouse_event.type) { 142 (mouse_event.modifiers & WebInputEvent::LeftButtonDown) || 143 (mouse_event.modifiers & WebInputEvent::RightButtonDown) | [all...] |
/external/chromium_org/chrome/browser/chromeos/input_method/ |
textinput_test_helper.cc | 197 WebKit::WebMouseEvent mouse_event; 198 mouse_event.type = WebKit::WebInputEvent::MouseDown; 199 mouse_event.button = WebKit::WebMouseEvent::ButtonLeft; 200 mouse_event.x = rect.CenterPoint().x(); 201 mouse_event.y = rect.CenterPoint().y(); 202 mouse_event.clickCount = 1; 203 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event); 205 mouse_event.type = WebKit::WebInputEvent::MouseUp; 206 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event);
|
/external/chromium_org/content/browser/speech/ |
speech_recognition_browsertest.cc | 43 WebKit::WebMouseEvent mouse_event; local 44 mouse_event.type = WebKit::WebInputEvent::MouseDown; 45 mouse_event.button = WebKit::WebMouseEvent::ButtonLeft; 46 mouse_event.x = 0; 47 mouse_event.y = 0; 48 mouse_event.clickCount = 1; 54 web_contents->GetRenderViewHost()->ForwardMouseEvent(mouse_event); 55 mouse_event.type = WebKit::WebInputEvent::MouseUp; 56 web_contents->GetRenderViewHost()->ForwardMouseEvent(mouse_event);
|
/external/chromium_org/content/renderer/pepper/ |
event_conversion.cc | 188 const WebMouseEvent& mouse_event = local 191 result.event_modifiers = mouse_event.modifiers; 192 if (mouse_event.type == WebInputEvent::MouseDown || 193 mouse_event.type == WebInputEvent::MouseMove || 194 mouse_event.type == WebInputEvent::MouseUp) { 196 static_cast<PP_InputEvent_MouseButton>(mouse_event.button); 198 result.mouse_position.x = mouse_event.x; 199 result.mouse_position.y = mouse_event.y; 200 result.mouse_click_count = mouse_event.clickCount; 201 result.mouse_movement.x = mouse_event.movementX 384 WebMouseEvent* mouse_event = new WebMouseEvent(); local [all...] |
/external/chromium_org/chrome/browser/tab_contents/ |
render_view_context_menu_browsertest.cc | 98 WebKit::WebMouseEvent mouse_event; local 99 mouse_event.type = WebKit::WebInputEvent::MouseDown; 100 mouse_event.button = WebKit::WebMouseEvent::ButtonRight; 101 mouse_event.x = 15; 102 mouse_event.y = 15; 107 mouse_event.globalX = 15 + offset.x(); 108 mouse_event.globalY = 15 + offset.y(); 109 mouse_event.clickCount = 1; 110 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event); 111 mouse_event.type = WebKit::WebInputEvent::MouseUp [all...] |
/external/chromium_org/ppapi/examples/2d/ |
paint_manager_example.cc | 52 pp::MouseInputEvent mouse_event(event); 54 if (mouse_event.GetButton() == PP_INPUTEVENT_MOUSEBUTTON_LEFT) { 55 UpdateSquare(static_cast<int>(mouse_event.GetPosition().x()), 56 static_cast<int>(mouse_event.GetPosition().y())); 61 pp::MouseInputEvent mouse_event(event); 63 if (mouse_event.GetButton() == PP_INPUTEVENT_MOUSEBUTTON_LEFT) { 64 UpdateSquare(static_cast<int>(mouse_event.GetPosition().x()), 65 static_cast<int>(mouse_event.GetPosition().y()));
|
/external/chromium_org/ppapi/examples/input/ |
pointer_event_input.cc | 52 pp::MouseInputEvent mouse_event(event); 54 if (mouse_event.GetButton() == PP_INPUTEVENT_MOUSEBUTTON_LEFT) { 55 UpdateSquare(static_cast<int>(mouse_event.GetPosition().x()), 56 static_cast<int>(mouse_event.GetPosition().y())); 61 pp::MouseInputEvent mouse_event(event); 63 if (mouse_event.GetButton() == PP_INPUTEVENT_MOUSEBUTTON_LEFT) { 64 UpdateSquare(static_cast<int>(mouse_event.GetPosition().x()), 65 static_cast<int>(mouse_event.GetPosition().y()));
|
/external/qemu/android/protocol/ |
user-events-impl.c | 63 UserEventMouse mouse_event; member in union:UserEventsImpl::__anon26499 106 &ueimpl->mouse_event, 107 sizeof(ueimpl->mouse_event), 136 user_event_mouse(ueimpl->mouse_event.dx, 137 ueimpl->mouse_event.dy, 138 ueimpl->mouse_event.dz, 139 ueimpl->mouse_event.buttons_state);
|
/external/chromium_org/chrome/browser/extensions/api/web_request/ |
web_request_apitest.cc | 145 WebKit::WebMouseEvent mouse_event; local 146 mouse_event.type = WebKit::WebInputEvent::MouseDown; 147 mouse_event.button = WebKit::WebMouseEvent::ButtonLeft; 148 mouse_event.x = 7; 149 mouse_event.y = 7; 150 mouse_event.clickCount = 1; 151 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event); 152 mouse_event.type = WebKit::WebInputEvent::MouseUp; 153 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event);
|
/external/chromium_org/chrome/browser/extensions/api/web_navigation/ |
web_navigation_apitest.cc | 586 WebKit::WebMouseEvent mouse_event; local 587 mouse_event.type = WebKit::WebInputEvent::MouseDown; 588 mouse_event.button = WebKit::WebMouseEvent::ButtonMiddle; 589 mouse_event.x = 7; 590 mouse_event.y = 7; 591 mouse_event.clickCount = 1; 592 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event); 593 mouse_event.type = WebKit::WebInputEvent::MouseUp; 594 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event); 625 WebKit::WebMouseEvent mouse_event; local 663 WebKit::WebMouseEvent mouse_event; local [all...] |
/external/chromium_org/ppapi/examples/file_chooser/ |
file_chooser.cc | 27 pp::MouseInputEvent mouse_event(event); 28 if (mouse_event.GetButton() == PP_INPUTEVENT_MOUSEBUTTON_LEFT) 30 else if (mouse_event.GetButton() == PP_INPUTEVENT_MOUSEBUTTON_RIGHT)
|
/external/chromium_org/content/public/test/ |
browser_test_utils.cc | 238 WebKit::WebMouseEvent mouse_event; local 239 mouse_event.type = WebKit::WebInputEvent::MouseDown; 240 mouse_event.button = button; 241 mouse_event.x = point.x(); 242 mouse_event.y = point.y(); 243 mouse_event.modifiers = modifiers; 247 mouse_event.globalX = point.x() + offset.x(); 248 mouse_event.globalY = point.y() + offset.y(); 249 mouse_event.clickCount = 1; 250 web_contents->GetRenderViewHost()->ForwardMouseEvent(mouse_event); 258 WebKit::WebMouseEvent mouse_event; local [all...] |
render_view_test.cc | 226 const WebKit::WebMouseEvent& mouse_event) { 229 InputMsg_HandleInputEvent(0, &mouse_event, ui::LatencyInfo(), false)); 281 WebMouseEvent mouse_event; 282 mouse_event.type = WebInputEvent::MouseDown; 283 mouse_event.button = WebMouseEvent::ButtonLeft; 284 mouse_event.x = bounds.CenterPoint().x(); 285 mouse_event.y = bounds.CenterPoint().y(); 286 mouse_event.clickCount = 1; 288 new InputMsg_HandleInputEvent(0, &mouse_event, ui::LatencyInfo(), false));
|
/external/chromium_org/remoting/proto/ |
internal.proto | 35 optional MouseEvent mouse_event = 4;
|
/external/chromium_org/ui/views/controls/textfield/ |
textfield_controller.cc | 18 const ui::MouseEvent& mouse_event) {
|
/external/qemu/ |
input.c | 171 QEMUPutMouseEvent *mouse_event; local 183 mouse_event = entry->qemu_put_mouse_event; 186 if (mouse_event) { 194 mouse_event(mouse_event_opaque, width - dy, dx, dz, buttons_state); 196 mouse_event(mouse_event_opaque, dx, dy, dz, buttons_state); 199 mouse_event(mouse_event_opaque, dx, dy, dz, buttons_state);
|
/external/chromium_org/content/browser/renderer_host/input/ |
immediate_input_router.cc | 113 const MouseEventWithLatencyInfo& mouse_event) { 114 if (!client_->OnSendMouseEvent(mouse_event)) 117 if (mouse_event.event.type == WebInputEvent::MouseDown && 119 ShouldDeferMouseDown(mouse_event)) 121 if (mouse_event.event.type == WebInputEvent::MouseUp && 126 SendMouseEventImmediately(mouse_event); 217 const MouseEventWithLatencyInfo& mouse_event) { 218 if (!client_->OnSendMouseEventImmediately(mouse_event)) 225 if (mouse_event.event.type == WebInputEvent::MouseMove) { 228 next_mouse_move_.reset(new MouseEventWithLatencyInfo(mouse_event)); [all...] |
input_router.h | 34 const MouseEventWithLatencyInfo& mouse_event) = 0; 45 const MouseEventWithLatencyInfo& mouse_event) = 0;
|
input_router_client.h | 52 const MouseEventWithLatencyInfo& mouse_event) = 0; 58 const MouseEventWithLatencyInfo& mouse_event) = 0;
|
/external/chromium_org/ash/launcher/ |
launcher_tooltip_manager_unittest.cc | 231 ui::MouseEvent mouse_event(ui::ET_MOUSE_MOVED, tooltip_rect.CenterPoint(), 233 ui::LocatedEvent::TestApi test_api(&mouse_event); 235 SetEventTarget(root_window, &mouse_event); 236 event_handler->OnMouseEvent(&mouse_event); 237 EXPECT_FALSE(mouse_event.handled()); 242 event_handler->OnMouseEvent(&mouse_event); 243 EXPECT_FALSE(mouse_event.handled());
|
/external/chromium_org/chrome/browser/ |
referrer_policy_browsertest.cc | 154 WebKit::WebMouseEvent mouse_event; local 155 mouse_event.type = WebKit::WebInputEvent::MouseDown; 156 mouse_event.button = button; 157 mouse_event.x = 15; 158 mouse_event.y = 15; 159 mouse_event.clickCount = 1; 160 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event); 161 mouse_event.type = WebKit::WebInputEvent::MouseUp; 162 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event);
|
/external/chromium_org/ppapi/tests/ |
test_resource_array.cc | 105 pp::InputEvent mouse_event = CreateMouseEvent( local 110 mouse_event.pp_resource(),
|