Home
last modified time | relevance | path

Searched refs:mouse_event (Results 1 – 17 of 17) sorted by relevance

/third_party/cef/tests/ceftests/
Dos_rendering_unittest.cc575 CefMouseEvent mouse_event; in OnPaint() local
576 mouse_event.x = 0; in OnPaint()
577 mouse_event.y = 0; in OnPaint()
578 mouse_event.modifiers = 0; in OnPaint()
579 browser->GetHost()->SendMouseMoveEvent(mouse_event, true); in OnPaint()
582 mouse_event.x = MiddleX(expected_rect); in OnPaint()
583 mouse_event.y = MiddleY(expected_rect); in OnPaint()
584 browser->GetHost()->SendMouseMoveEvent(mouse_event, false); in OnPaint()
589 CefMouseEvent mouse_event; in OnPaint() local
591 mouse_event.x = MiddleX(expected_rect); in OnPaint()
[all …]
Dpdf_viewer_unittest.cc149 CefMouseEvent mouse_event; in TriggerContextMenu() local
153 mouse_event.x = 400; in TriggerContextMenu()
154 mouse_event.y = 200; in TriggerContextMenu()
157 mouse_event.x = 100; in TriggerContextMenu()
158 mouse_event.y = 100; in TriggerContextMenu()
162 browser->GetHost()->SendMouseClickEvent(mouse_event, MBT_RIGHT, false, 1); in TriggerContextMenu()
163 browser->GetHost()->SendMouseClickEvent(mouse_event, MBT_RIGHT, true, 1); in TriggerContextMenu()
Ddownload_unittest.cc492 CefMouseEvent mouse_event; in SendClick() local
493 mouse_event.x = 20; in SendClick()
494 mouse_event.y = 20; in SendClick()
495 mouse_event.modifiers = modifiers; in SendClick()
501 mouse_event, MBT_LEFT, false, 1), in SendClick()
506 mouse_event, MBT_LEFT, true, 1), in SendClick()
Drequest_context_unittest.cc320 CefMouseEvent mouse_event; in LaunchPopup() local
321 mouse_event.x = 20; in LaunchPopup()
322 mouse_event.y = 20; in LaunchPopup()
323 mouse_event.modifiers = 0; in LaunchPopup()
329 browser->GetHost(), mouse_event, MBT_LEFT, false, 1), in LaunchPopup()
334 browser->GetHost(), mouse_event, MBT_LEFT, true, 1), in LaunchPopup()
Dnavigation_unittest.cc1771 CefMouseEvent mouse_event; in ContinueIfReady() local
1772 mouse_event.x = 20; in ContinueIfReady()
1773 mouse_event.y = 20; in ContinueIfReady()
1776 mouse_event.modifiers = in ContinueIfReady()
1779 mouse_event.modifiers = in ContinueIfReady()
1785 browser->GetHost()->SendMouseClickEvent(mouse_event, button_type, false, in ContinueIfReady()
1787 browser->GetHost()->SendMouseClickEvent(mouse_event, button_type, true, in ContinueIfReady()
/third_party/cef/libcef/browser/native/
Dbrowser_platform_delegate_native_aura.cc79 const CefMouseEvent& mouse_event, in TranslateWebClickEvent() argument
84 TranslateUiClickEvent(mouse_event, type, mouseUp, clickCount)); in TranslateWebClickEvent()
89 const CefMouseEvent& mouse_event, in TranslateWebMoveEvent() argument
91 return ui::MakeWebMouseEvent(TranslateUiMoveEvent(mouse_event, mouseLeave)); in TranslateWebMoveEvent()
96 const CefMouseEvent& mouse_event, in TranslateWebWheelEvent() argument
100 TranslateUiWheelEvent(mouse_event, deltaX, deltaY)); in TranslateWebWheelEvent()
104 const CefMouseEvent& mouse_event, in TranslateUiClickEvent() argument
112 gfx::PointF location(mouse_event.x, mouse_event.y); in TranslateUiClickEvent()
114 GetScreenPoint(gfx::Point(mouse_event.x, mouse_event.y))); in TranslateUiClickEvent()
116 int flags = TranslateUiEventModifiers(mouse_event.modifiers); in TranslateUiClickEvent()
[all …]
Dbrowser_platform_delegate_native_aura.h43 const CefMouseEvent& mouse_event,
47 blink::WebMouseEvent TranslateWebMoveEvent(const CefMouseEvent& mouse_event,
50 const CefMouseEvent& mouse_event,
58 const CefMouseEvent& mouse_event,
62 virtual ui::MouseEvent TranslateUiMoveEvent(const CefMouseEvent& mouse_event,
65 const CefMouseEvent& mouse_event,
Dbrowser_platform_delegate_native_mac.h54 const CefMouseEvent& mouse_event,
58 blink::WebMouseEvent TranslateWebMoveEvent(const CefMouseEvent& mouse_event,
61 const CefMouseEvent& mouse_event,
67 const CefMouseEvent& mouse_event) const;
Dbrowser_platform_delegate_native_mac.mm459 const CefMouseEvent& mouse_event,
464 TranslateWebMouseEvent(result, mouse_event);
492 const CefMouseEvent& mouse_event,
495 TranslateWebMouseEvent(result, mouse_event);
499 if (mouse_event.modifiers & EVENTFLAG_LEFT_MOUSE_BUTTON)
501 else if (mouse_event.modifiers & EVENTFLAG_MIDDLE_MOUSE_BUTTON)
503 else if (mouse_event.modifiers & EVENTFLAG_RIGHT_MOUSE_BUTTON)
519 const CefMouseEvent& mouse_event,
523 TranslateWebMouseEvent(result, mouse_event);
534 if (mouse_event.modifiers & EVENTFLAG_LEFT_MOUSE_BUTTON)
[all …]
Dbrowser_platform_delegate_native.h36 const CefMouseEvent& mouse_event,
41 const CefMouseEvent& mouse_event,
44 const CefMouseEvent& mouse_event,
/third_party/cef/tests/cefclient/browser/
Dosr_window_win.cc622 CefMouseEvent mouse_event; in OnMouseEvent() local
623 mouse_event.x = x; in OnMouseEvent()
624 mouse_event.y = y; in OnMouseEvent()
626 ApplyPopupOffset(mouse_event.x, mouse_event.y); in OnMouseEvent()
627 DeviceToLogical(mouse_event, device_scale_factor_); in OnMouseEvent()
628 mouse_event.modifiers = GetCefMouseModifiers(wParam); in OnMouseEvent()
629 browser_host->SendMouseClickEvent(mouse_event, btnType, false, in OnMouseEvent()
652 CefMouseEvent mouse_event; in OnMouseEvent() local
653 mouse_event.x = x; in OnMouseEvent()
654 mouse_event.y = y; in OnMouseEvent()
[all …]
Dbrowser_window_osr_gtk.cc1447 CefMouseEvent mouse_event; in ClickEvent() local
1448 mouse_event.x = event->x; in ClickEvent()
1449 mouse_event.y = event->y; in ClickEvent()
1450 self->ApplyPopupOffset(mouse_event.x, mouse_event.y); in ClickEvent()
1451 DeviceToLogical(mouse_event, device_scale_factor); in ClickEvent()
1452 mouse_event.modifiers = GetCefStateModifiers(event->state); in ClickEvent()
1471 host->SendMouseClickEvent(mouse_event, button_type, mouse_up, click_count); in ClickEvent()
1573 CefMouseEvent mouse_event; in MoveEvent() local
1574 mouse_event.x = x; in MoveEvent()
1575 mouse_event.y = y; in MoveEvent()
[all …]
Dosr_accessibility_node_win.cc586 CefMouseEvent mouse_event; in accDoDefaultAction() local
588 mouse_event.x = MiddleX(rect); in accDoDefaultAction()
589 mouse_event.y = MiddleY(rect); in accDoDefaultAction()
591 mouse_event.modifiers = 0; in accDoDefaultAction()
592 browser->GetHost()->SendMouseClickEvent(mouse_event, MBT_LEFT, false, 1); in accDoDefaultAction()
593 browser->GetHost()->SendMouseClickEvent(mouse_event, MBT_LEFT, true, 1); in accDoDefaultAction()
Dosr_accessibility_node_mac.mm306 CefMouseEvent mouse_event;
308 mouse_event.x = MiddleX(rect);
309 mouse_event.y = MiddleY(rect);
311 mouse_event.modifiers = 0;
312 browser->GetHost()->SendMouseClickEvent(mouse_event, type, false, 1);
313 browser->GetHost()->SendMouseClickEvent(mouse_event, type, true, 1);
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/win32/
Dgstglwindow_win32.c520 GstGLWindowWin32MouseEvent *mouse_event; in gst_gl_window_win32_handle_mouse_event() local
522 mouse_event = g_new0 (GstGLWindowWin32MouseEvent, 1); in gst_gl_window_win32_handle_mouse_event()
523 mouse_event->window = window; in gst_gl_window_win32_handle_mouse_event()
524 mouse_event->event_type = event; in gst_gl_window_win32_handle_mouse_event()
525 mouse_event->button = button; in gst_gl_window_win32_handle_mouse_event()
526 mouse_event->pos_x = (gdouble) LOWORD (lParam); in gst_gl_window_win32_handle_mouse_event()
527 mouse_event->pos_y = (gdouble) HIWORD (lParam); in gst_gl_window_win32_handle_mouse_event()
531 mouse_event, (GDestroyNotify) g_free); in gst_gl_window_win32_handle_mouse_event()
/third_party/gstreamer/gstplugins_base/
DChangeLog27510 key_event and mouse_event is exposing a bit too much of the internals. Let's
/third_party/gstreamer/gstplugins_bad/
DChangeLog81629 key_event and mouse_event is exposing a bit too much of the internals. Let's