/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 | 90 protocol::MouseEvent mouse_event; local 93 mouse_event.set_button(protocol::MouseEvent::BUTTON_LEFT); 96 mouse_event.set_button(protocol::MouseEvent::BUTTON_MIDDLE); 99 mouse_event.set_button(protocol::MouseEvent::BUTTON_RIGHT); 104 if (mouse_event.has_button()) { 106 mouse_event.set_button_down(is_down); 107 mouse_event.set_x(pp_mouse_event.GetPosition().x()); 108 mouse_event.set_y(pp_mouse_event.GetPosition().y()); 113 mouse_event.set_delta_x(delta.x()); 114 mouse_event.set_delta_y(delta.y()) 126 protocol::MouseEvent mouse_event; local 164 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/ash/shelf/ |
shelf_tooltip_manager_unittest.cc | 233 ui::MouseEvent mouse_event(ui::ET_MOUSE_MOVED, tooltip_rect.CenterPoint(), 235 ui::LocatedEventTestApi test_api(&mouse_event); 237 SetEventTarget(root_window, &mouse_event); 238 event_handler->OnMouseEvent(&mouse_event); 239 EXPECT_FALSE(mouse_event.handled()); 244 event_handler->OnMouseEvent(&mouse_event); 245 EXPECT_FALSE(mouse_event.handled()); 262 ui::MouseEvent mouse_event(ui::ET_MOUSE_PRESSED, tooltip_rect.CenterPoint(), 265 SetEventTarget(root_window, &mouse_event); 266 event_handler->OnMouseEvent(&mouse_event); [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/content/browser/renderer_host/input/ |
synthetic_tap_gesture.cc | 90 blink::WebMouseEvent mouse_event = local 95 mouse_event.clickCount = 1; 96 DispatchEventToPlatform(target, mouse_event); 107 blink::WebMouseEvent mouse_event = local 112 mouse_event.clickCount = 1; 113 DispatchEventToPlatform(target, mouse_event);
|
input_router_impl.cc | 139 const MouseEventWithLatencyInfo& mouse_event) { 144 SimulateTouchGestureWithMouse(mouse_event); 148 if (mouse_event.event.type == WebInputEvent::MouseDown && 150 ShouldDeferMouseDown(mouse_event)) 152 if (mouse_event.event.type == WebInputEvent::MouseUp && 157 SendMouseEventImmediately(mouse_event); 225 const MouseEventWithLatencyInfo& mouse_event) { 230 if (mouse_event.event.type == WebInputEvent::MouseMove) { 233 next_mouse_move_.reset(new MouseEventWithLatencyInfo(mouse_event)); 235 next_mouse_move_->CoalesceWith(mouse_event); 646 const WebMouseEvent& mouse_event = event.event; local [all...] |
/external/chromium_org/chrome/browser/chromeos/input_method/ |
textinput_test_helper.cc | 190 blink::WebMouseEvent mouse_event; 191 mouse_event.type = blink::WebInputEvent::MouseDown; 192 mouse_event.button = blink::WebMouseEvent::ButtonLeft; 193 mouse_event.x = rect.CenterPoint().x(); 194 mouse_event.y = rect.CenterPoint().y(); 195 mouse_event.clickCount = 1; 196 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event); 198 mouse_event.type = blink::WebInputEvent::MouseUp; 199 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event);
|
/external/chromium_org/content/browser/speech/ |
input_tag_speech_browsertest.cc | 43 blink::WebMouseEvent mouse_event; local 44 mouse_event.type = blink::WebInputEvent::MouseDown; 45 mouse_event.button = blink::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 = blink::WebInputEvent::MouseUp; 56 web_contents->GetRenderViewHost()->ForwardMouseEvent(mouse_event);
|
/external/chromium_org/content/renderer/pepper/ |
event_conversion.cc | 189 const WebMouseEvent& mouse_event = local 192 result.event_modifiers = mouse_event.modifiers; 193 if (mouse_event.type == WebInputEvent::MouseDown || 194 mouse_event.type == WebInputEvent::MouseMove || 195 mouse_event.type == WebInputEvent::MouseUp) { 197 static_cast<PP_InputEvent_MouseButton>(mouse_event.button); 199 result.mouse_position.x = mouse_event.x; 200 result.mouse_position.y = mouse_event.y; 201 result.mouse_click_count = mouse_event.clickCount; 202 result.mouse_movement.x = mouse_event.movementX 385 WebMouseEvent* mouse_event = new WebMouseEvent(); local [all...] |
/external/chromium_org/chrome/browser/tab_contents/ |
render_view_context_menu_browsertest.cc | 98 blink::WebMouseEvent mouse_event; local 99 mouse_event.type = blink::WebInputEvent::MouseDown; 100 mouse_event.button = blink::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 = blink::WebInputEvent::MouseUp [all...] |
/external/chromium_org/ppapi/examples/2d/ |
paint_manager_example.cc | 54 pp::MouseInputEvent mouse_event(event); 56 if (mouse_event.GetButton() == PP_INPUTEVENT_MOUSEBUTTON_LEFT) { 57 UpdateSquare(static_cast<int>(mouse_event.GetPosition().x()), 58 static_cast<int>(mouse_event.GetPosition().y())); 63 pp::MouseInputEvent mouse_event(event); 65 if (mouse_event.GetButton() == PP_INPUTEVENT_MOUSEBUTTON_LEFT) { 66 UpdateSquare(static_cast<int>(mouse_event.GetPosition().x()), 67 static_cast<int>(mouse_event.GetPosition().y()));
|
/external/chromium_org/ppapi/examples/input/ |
pointer_event_input.cc | 54 pp::MouseInputEvent mouse_event(event); 56 if (mouse_event.GetButton() == PP_INPUTEVENT_MOUSEBUTTON_LEFT) { 57 UpdateSquare(static_cast<int>(mouse_event.GetPosition().x()), 58 static_cast<int>(mouse_event.GetPosition().y())); 63 pp::MouseInputEvent mouse_event(event); 65 if (mouse_event.GetButton() == PP_INPUTEVENT_MOUSEBUTTON_LEFT) { 66 UpdateSquare(static_cast<int>(mouse_event.GetPosition().x()), 67 static_cast<int>(mouse_event.GetPosition().y()));
|
/external/chromium_org/native_client_sdk/src/examples/api/input_event/ |
input_event.cc | 162 pp::MouseInputEvent mouse_event(event); 165 << " modifier:" << ModifierToString(mouse_event.GetModifiers()) 166 << " button:" << MouseButtonToString(mouse_event.GetButton()) 167 << " x:" << mouse_event.GetPosition().x() 168 << " y:" << mouse_event.GetPosition().y() 169 << " click_count:" << mouse_event.GetClickCount() 170 << " time:" << mouse_event.GetTimeStamp()
|
/external/qemu/android/protocol/ |
user-events-impl.c | 63 UserEventMouse mouse_event; member in union:UserEventsImpl::__anon27451 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 blink::WebMouseEvent mouse_event; local 146 mouse_event.type = blink::WebInputEvent::MouseDown; 147 mouse_event.button = blink::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 = blink::WebInputEvent::MouseUp; 153 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event);
|
/external/chromium_org/chrome/browser/extensions/api/web_navigation/ |
web_navigation_apitest.cc | 589 blink::WebMouseEvent mouse_event; local 590 mouse_event.type = blink::WebInputEvent::MouseDown; 591 mouse_event.button = blink::WebMouseEvent::ButtonMiddle; 592 mouse_event.x = 7; 593 mouse_event.y = 7; 594 mouse_event.clickCount = 1; 595 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event); 596 mouse_event.type = blink::WebInputEvent::MouseUp; 597 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event); 628 blink::WebMouseEvent mouse_event; local 666 blink::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 | 235 blink::WebMouseEvent mouse_event; local 236 mouse_event.type = blink::WebInputEvent::MouseDown; 237 mouse_event.button = button; 238 mouse_event.x = point.x(); 239 mouse_event.y = point.y(); 240 mouse_event.modifiers = modifiers; 244 mouse_event.globalX = point.x() + offset.x(); 245 mouse_event.globalY = point.y() + offset.y(); 246 mouse_event.clickCount = 1; 247 web_contents->GetRenderViewHost()->ForwardMouseEvent(mouse_event); 255 blink::WebMouseEvent mouse_event; local [all...] |
render_view_test.cc | 231 const blink::WebMouseEvent& mouse_event) { 234 InputMsg_HandleInputEvent(0, &mouse_event, ui::LatencyInfo(), false)); 286 WebMouseEvent mouse_event; 287 mouse_event.type = WebInputEvent::MouseDown; 288 mouse_event.button = WebMouseEvent::ButtonLeft; 289 mouse_event.x = bounds.CenterPoint().x(); 290 mouse_event.y = bounds.CenterPoint().y(); 291 mouse_event.clickCount = 1; 293 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/renderer/ |
render_widget_fullscreen_pepper.cc | 255 const WebMouseEvent& mouse_event = local 262 mouse_event.type == WebInputEvent::MouseUp && 263 mouse_event.button == WebMouseEvent::ButtonRight; 266 mouse_event.type == WebInputEvent::MouseDown && 267 (mouse_event.button == WebMouseEvent::ButtonRight || 268 (mouse_event.button == WebMouseEvent::ButtonLeft && 269 mouse_event.modifiers & WebMouseEvent::ControlKey)); 272 mouse_event.type == WebInputEvent::MouseDown && 273 mouse_event.button == WebMouseEvent::ButtonRight; 276 WebMouseEvent context_menu_event(mouse_event); [all...] |
/external/chromium_org/chrome/browser/ |
referrer_policy_browsertest.cc | 155 blink::WebMouseEvent mouse_event; local 156 mouse_event.type = blink::WebInputEvent::MouseDown; 157 mouse_event.button = button; 158 mouse_event.x = 15; 159 mouse_event.y = 15; 160 mouse_event.clickCount = 1; 161 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event); 162 mouse_event.type = blink::WebInputEvent::MouseUp; 163 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event);
|