Searched defs:mouse_event (Results 1 - 25 of 38) sorted by relevance

12

/external/chromium_org/ui/views/controls/textfield/
H A Dtextfield_controller.cc18 const ui::MouseEvent& mouse_event) {
17 HandleMouseEvent(Textfield* sender, const ui::MouseEvent& mouse_event) argument
/external/chromium_org/chrome/browser/renderer_context_menu/
H A Drender_view_context_menu_browsertest.cc105 blink::WebMouseEvent mouse_event; local
106 mouse_event.type = blink::WebInputEvent::MouseDown;
107 mouse_event.button = blink::WebMouseEvent::ButtonRight;
108 mouse_event.x = 15;
109 mouse_event.y = 15;
113 mouse_event.globalX = 15 + offset.x();
114 mouse_event.globalY = 15 + offset.y();
115 mouse_event.clickCount = 1;
116 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event);
117 mouse_event
247 blink::WebMouseEvent mouse_event; local
[all...]
/external/chromium_org/content/browser/renderer_host/input/
H A Dsynthetic_tap_gesture.cc78 blink::WebMouseEvent mouse_event = local
83 mouse_event.clickCount = 1;
84 mouse_event.timeStampSeconds = ConvertTimestampToSeconds(timestamp);
85 target->DispatchInputEventToPlatform(mouse_event);
98 blink::WebMouseEvent mouse_event = local
103 mouse_event.clickCount = 1;
104 mouse_event.timeStampSeconds = ConvertTimestampToSeconds(timestamp);
105 target->DispatchInputEventToPlatform(mouse_event);
H A Dtouch_emulator.cc129 bool TouchEmulator::HandleMouseEvent(const WebMouseEvent& mouse_event) { argument
133 if (mouse_event.button == WebMouseEvent::ButtonRight &&
134 mouse_event.type == WebInputEvent::MouseDown) {
135 client_->ShowContextMenuAtPoint(gfx::Point(mouse_event.x, mouse_event.y));
138 if (mouse_event.button != WebMouseEvent::ButtonLeft)
141 if (mouse_event.type == WebInputEvent::MouseMove) {
143 mouse_event.timeStampSeconds < last_mouse_move_timestamp_ +
148 last_mouse_move_timestamp_ = mouse_event.timeStampSeconds;
153 if (mouse_event
396 FillTouchEventAndPoint(const WebMouseEvent& mouse_event) argument
[all...]
H A Dinput_router_impl.cc110 const MouseEventWithLatencyInfo& mouse_event) {
111 if (mouse_event.event.type == WebInputEvent::MouseDown &&
113 ShouldDeferMouseDown(mouse_event))
115 if (mouse_event.event.type == WebInputEvent::MouseUp &&
120 SendMouseEventImmediately(mouse_event);
202 const MouseEventWithLatencyInfo& mouse_event) {
207 if (mouse_event.event.type == WebInputEvent::MouseMove) {
210 next_mouse_move_.reset(new MouseEventWithLatencyInfo(mouse_event));
212 next_mouse_move_->CoalesceWith(mouse_event);
218 FilterAndSendWebInputEvent(mouse_event
109 SendMouseEvent( const MouseEventWithLatencyInfo& mouse_event) argument
201 SendMouseEventImmediately( const MouseEventWithLatencyInfo& mouse_event) argument
[all...]
/external/chromium_org/tools/site_compare/drivers/win32/
H A Dmouse.py15 import win32api # for mouse_event namespace
58 # Put the mouse_event flags in a convenient dictionary by button
66 win32api.mouse_event(flags[button][down], 0, 0)
129 win32api.mouse_event(
/external/chromium_org/ui/views/examples/
H A Dtextfield_example.cc100 const ui::MouseEvent& mouse_event) {
101 PrintStatus("HandleMouseEvent click count=%d", mouse_event.GetClickCount());
99 HandleMouseEvent(Textfield* sender, const ui::MouseEvent& mouse_event) argument
/external/chromium_org/content/common/input/
H A Dinput_param_traits_unittest.cc159 blink::WebMouseEvent mouse_event; local
160 mouse_event.type = blink::WebInputEvent::MouseDown;
161 mouse_event.x = 10;
163 events.push_back(new InputEvent(mouse_event, latency, false));
/external/chromium_org/chrome/browser/extensions/api/web_request/
H A Dweb_request_apitest.cc147 blink::WebMouseEvent mouse_event; local
148 mouse_event.type = blink::WebInputEvent::MouseDown;
149 mouse_event.button = blink::WebMouseEvent::ButtonLeft;
150 mouse_event.x = 7;
151 mouse_event.y = 7;
152 mouse_event.clickCount = 1;
153 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event);
154 mouse_event.type = blink::WebInputEvent::MouseUp;
155 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event);
/external/chromium_org/chrome/browser/ui/views/autofill/
H A Dexpanding_textfield.cc132 const ui::MouseEvent& mouse_event) {
133 return controller_->HandleMouseEvent(sender, mouse_event);
131 HandleMouseEvent(views::Textfield* sender, const ui::MouseEvent& mouse_event) argument
/external/chromium_org/remoting/client/plugin/
H A Dpepper_input_handler.cc81 protocol::MouseEvent mouse_event; local
84 mouse_event.set_button(protocol::MouseEvent::BUTTON_LEFT);
87 mouse_event.set_button(protocol::MouseEvent::BUTTON_MIDDLE);
90 mouse_event.set_button(protocol::MouseEvent::BUTTON_RIGHT);
95 if (mouse_event.has_button()) {
97 mouse_event.set_button_down(is_down);
98 mouse_event.set_x(pp_mouse_event.GetPosition().x());
99 mouse_event.set_y(pp_mouse_event.GetPosition().y());
104 mouse_event.set_delta_x(delta.x());
105 mouse_event
121 protocol::MouseEvent mouse_event; local
163 protocol::MouseEvent mouse_event; local
[all...]
/external/chromium_org/chrome/browser/extensions/api/web_navigation/
H A Dweb_navigation_apitest.cc460 blink::WebMouseEvent mouse_event; local
461 mouse_event.type = blink::WebInputEvent::MouseDown;
462 mouse_event.button = blink::WebMouseEvent::ButtonMiddle;
463 mouse_event.x = 7;
464 mouse_event.y = 7;
465 mouse_event.clickCount = 1;
466 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event);
467 mouse_event.type = blink::WebInputEvent::MouseUp;
468 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event);
492 blink::WebMouseEvent mouse_event; local
523 blink::WebMouseEvent mouse_event; local
[all...]
/external/chromium_org/chrome/browser/
H A Dreferrer_policy_browsertest.cc179 blink::WebMouseEvent mouse_event; local
180 mouse_event.type = blink::WebInputEvent::MouseDown;
181 mouse_event.button = button;
182 mouse_event.x = 15;
183 mouse_event.y = 15;
184 mouse_event.clickCount = 1;
185 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event);
186 mouse_event.type = blink::WebInputEvent::MouseUp;
187 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event);
/external/chromium_org/components/plugins/renderer/
H A Dwebview_plugin.cc175 const WebMouseEvent& mouse_event = local
177 delegate_->ShowContextMenu(mouse_event);
/external/chromium_org/content/renderer/input/
H A Dinput_handler_proxy.cc363 const WebMouseEvent& mouse_event = local
369 input_handler_->MouseMoveAt(gfx::Point(mouse_event.x, mouse_event.y));
/external/chromium_org/content/renderer/
H A Drender_widget_fullscreen_pepper.cc226 const WebMouseEvent& mouse_event = local
233 mouse_event.type == WebInputEvent::MouseUp &&
234 mouse_event.button == WebMouseEvent::ButtonRight;
237 mouse_event.type == WebInputEvent::MouseDown &&
238 (mouse_event.button == WebMouseEvent::ButtonRight ||
239 (mouse_event.button == WebMouseEvent::ButtonLeft &&
240 mouse_event.modifiers & WebMouseEvent::ControlKey));
243 mouse_event.type == WebInputEvent::MouseDown &&
244 mouse_event.button == WebMouseEvent::ButtonRight;
247 WebMouseEvent context_menu_event(mouse_event);
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/gem/
H A DSDL_gemevents.c81 int quit, resultat, event_mask, mouse_event; local
88 mouse_event =
95 mouse_event = ( (SDL_GetAppState() & SDL_APPMOUSEFOCUS)
102 mouse_event,x2,y2,w2,h2,
127 SDL_PrivateAppActive((mouse_event == MO_ENTER),
/external/qemu/ui/
H A Dinput.c171 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/public/test/
H A Drender_view_test.cc260 const blink::WebMouseEvent& mouse_event) {
263 InputMsg_HandleInputEvent(0, &mouse_event, ui::LatencyInfo(), false));
317 WebMouseEvent mouse_event;
318 mouse_event.type = WebInputEvent::MouseDown;
319 mouse_event.button = WebMouseEvent::ButtonLeft;
320 mouse_event.x = bounds.CenterPoint().x();
321 mouse_event.y = bounds.CenterPoint().y();
322 mouse_event.clickCount = 1;
324 new InputMsg_HandleInputEvent(0, &mouse_event, ui::LatencyInfo(), false));
259 SendWebMouseEvent( const blink::WebMouseEvent& mouse_event) argument
/external/chromium_org/chrome/browser/chromeos/events/
H A Devent_rewriter.cc434 const ui::MouseEvent& mouse_event,
436 int flags = mouse_event.flags();
437 RewriteLocatedEvent(mouse_event, &flags);
440 status = sticky_keys_controller_->RewriteMouseEvent(mouse_event, &flags);
442 if ((mouse_event.type() == ui::ET_MOUSE_PRESSED) ||
443 (mouse_event.type() == ui::ET_MOUSE_RELEASED)) {
444 changed_button = RewriteModifierClick(mouse_event, &flags);
446 if ((mouse_event.flags() == flags) &&
452 ui::MouseEvent* rewritten_mouse_event = new ui::MouseEvent(mouse_event);
830 int EventRewriter::RewriteModifierClick(const ui::MouseEvent& mouse_event, argument
433 RewriteMouseButtonEvent( const ui::MouseEvent& mouse_event, scoped_ptr<ui::Event>* rewritten_event) argument
[all...]
/external/chromium_org/chrome/renderer/printing/
H A Dprint_web_view_helper_browsertest.cc289 blink::WebMouseEvent mouse_event; local
290 mouse_event.type = blink::WebInputEvent::MouseDown;
291 mouse_event.button = blink::WebMouseEvent::ButtonLeft;
292 mouse_event.x = bounds.CenterPoint().x();
293 mouse_event.y = bounds.CenterPoint().y();
294 mouse_event.clickCount = 1;
295 SendWebMouseEvent(mouse_event);
296 mouse_event.type = blink::WebInputEvent::MouseUp;
297 SendWebMouseEvent(mouse_event);
585 blink::WebMouseEvent mouse_event; local
[all...]
/external/chromium_org/content/renderer/pepper/
H A Devent_conversion.cc185 const WebMouseEvent& mouse_event = static_cast<const WebMouseEvent&>(event); local
187 result.event_modifiers = mouse_event.modifiers;
188 if (mouse_event.type == WebInputEvent::MouseDown ||
189 mouse_event.type == WebInputEvent::MouseMove ||
190 mouse_event.type == WebInputEvent::MouseUp) {
192 static_cast<PP_InputEvent_MouseButton>(mouse_event.button);
194 result.mouse_position.x = mouse_event.x;
195 result.mouse_position.y = mouse_event.y;
196 result.mouse_click_count = mouse_event.clickCount;
197 result.mouse_movement.x = mouse_event
403 WebMouseEvent* mouse_event = new WebMouseEvent(); local
[all...]
/external/chromium_org/ppapi/thunk/
H A Dppb_input_event_thunk.cc139 PP_InputEvent_MouseButton GetMouseButton(PP_Resource mouse_event) { argument
141 EnterInputEvent enter(mouse_event, true);
147 PP_Point GetMousePosition(PP_Resource mouse_event) { argument
149 EnterInputEvent enter(mouse_event, true);
155 int32_t GetMouseClickCount(PP_Resource mouse_event) { argument
157 EnterInputEvent enter(mouse_event, true);
163 PP_Point GetMouseMovement(PP_Resource mouse_event) { argument
165 EnterInputEvent enter(mouse_event, true);
/external/chromium_org/ui/events/
H A Devent.cc457 MouseWheelEvent::MouseWheelEvent(const MouseEvent& mouse_event, argument
460 : MouseEvent(mouse_event), offset_(x_offset, y_offset) {
/external/chromium_org/chrome/browser/apps/
H A Dweb_view_interactive_browsertest.cc348 blink::WebMouseEvent mouse_event; local
349 mouse_event.button = button;
350 mouse_event.x = mouse_event.windowX = x;
351 mouse_event.y = mouse_event.windowY = y;
352 mouse_event.modifiers = 0;
354 mouse_event.type = blink::WebInputEvent::MouseDown;
355 rwh->ForwardMouseEvent(mouse_event);
356 mouse_event
[all...]

Completed in 687 milliseconds

12