|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149
|
FRAMES
NO FRAMES |
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
(default)
Class CefKeyboardHandler
CefBaseRefCounted
|
+--CefKeyboardHandler
in cef_keyboard_handler.h
- class CefKeyboardHandler
- extends CefBaseRefCounted
Implement this interface to handle events related to keyboard input. The
methods of this class will be called on the UI thread.
Method Summary |
virtual bool |
OnKeyEvent( CefRefPtr< CefBrowser > browser, const CefKeyEvent& event, CefEventHandle os_event )
Called after the renderer and JavaScript in the page has had a chance to
handle the event. |
virtual bool |
OnPreKeyEvent( CefRefPtr< CefBrowser > browser, const CefKeyEvent& event, CefEventHandle os_event, bool* is_keyboard_shortcut )
Called before a keyboard event is sent to the renderer. |
OnKeyEvent
public virtual bool OnKeyEvent( CefRefPtr< CefBrowser > browser, const CefKeyEvent& event, CefEventHandle os_event );
- Called after the renderer and JavaScript in the page has had a chance to
handle the event. |event| contains information about the keyboard event.
|os_event| is the operating system event message, if any. Return true if
the keyboard event was handled or false otherwise.
OnPreKeyEvent
public virtual bool OnPreKeyEvent( CefRefPtr< CefBrowser > browser, const CefKeyEvent& event, CefEventHandle os_event, bool* is_keyboard_shortcut );
- Called before a keyboard event is sent to the renderer. |event| contains
information about the keyboard event. |os_event| is the operating system
event message, if any. Return true if the event was handled or false
otherwise. If the event will be handled in OnKeyEvent() as a keyboard
shortcut set |is_keyboard_shortcut| to true and return false.
|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149
|
FRAMES
NO FRAMES |
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt