Home
last modified time | relevance | path

Searched refs:cef_event (Results 1 – 7 of 7) sorted by relevance

/third_party/cef/libcef/browser/
Dbrowser_util.cc12 CefKeyEvent& cef_event) { in GetCefKeyEvent() argument
15 cef_event.type = KEYEVENT_RAWKEYDOWN; in GetCefKeyEvent()
18 cef_event.type = KEYEVENT_KEYDOWN; in GetCefKeyEvent()
21 cef_event.type = KEYEVENT_KEYUP; in GetCefKeyEvent()
24 cef_event.type = KEYEVENT_CHAR; in GetCefKeyEvent()
30 cef_event.modifiers = 0; in GetCefKeyEvent()
32 cef_event.modifiers |= EVENTFLAG_SHIFT_DOWN; in GetCefKeyEvent()
34 cef_event.modifiers |= EVENTFLAG_CONTROL_DOWN; in GetCefKeyEvent()
36 cef_event.modifiers |= EVENTFLAG_ALT_DOWN; in GetCefKeyEvent()
38 cef_event.modifiers |= EVENTFLAG_COMMAND_DOWN; in GetCefKeyEvent()
[all …]
Dbrowser_contents_delegate.cc190 CefKeyEvent cef_event; in PreHandleKeyboardEvent() local
191 if (browser_util::GetCefKeyEvent(event, cef_event)) { in PreHandleKeyboardEvent()
192 cef_event.focus_on_editable_field = focus_on_editable_field_; in PreHandleKeyboardEvent()
197 browser(), cef_event, event_handle, &is_keyboard_shortcut); in PreHandleKeyboardEvent()
221 CefKeyEvent cef_event; in HandleKeyboardEvent() local
222 if (browser_util::GetCefKeyEvent(event, cef_event)) { in HandleKeyboardEvent()
223 cef_event.focus_on_editable_field = focus_on_editable_field_; in HandleKeyboardEvent()
226 if (handler->OnKeyEvent(browser(), cef_event, event_handle)) { in HandleKeyboardEvent()
Dbrowser_util.h23 CefKeyEvent& cef_event);
26 bool GetCefKeyEvent(const ui::KeyEvent& event, CefKeyEvent& cef_event);
/third_party/cef/libcef/browser/views/
Dbrowser_view_impl.cc122 CefKeyEvent cef_event; in HandleKeyboardEvent() local
123 if (browser_util::GetCefKeyEvent(event, cef_event) && in HandleKeyboardEvent()
124 window_impl->OnKeyEvent(cef_event)) { in HandleKeyboardEvent()
Dwindow_impl.cc105 CefKeyEvent cef_event; in OnKeyEvent() local
106 if (browser_util::GetCefKeyEvent(*event, cef_event) && in OnKeyEvent()
107 window_impl_->OnKeyEvent(cef_event)) { in OnKeyEvent()
/third_party/cef/libcef/browser/osr/
Dmotion_event_osr.cc124 const CefTouchEvent& cef_event) { in MarkUnchangedTouchPointsAsStationary() argument
125 int id = LookupId(cef_event.id); in MarkUnchangedTouchPointsAsStationary()
Dmotion_event_osr.h41 const CefTouchEvent& cef_event);