public interface CefKeyboardHandler
| Modifier and Type | Interface and Description |
|---|---|
static class |
CefKeyboardHandler.CefKeyEvent
Structure representing keyboard event information.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
onKeyEvent(CefBrowser browser,
CefKeyboardHandler.CefKeyEvent event)
Called after the renderer and JavaScript in the page has had a chance to
handle the event.
|
boolean |
onPreKeyEvent(CefBrowser browser,
CefKeyboardHandler.CefKeyEvent event,
BoolRef is_keyboard_shortcut)
Called before a keyboard event is sent to the renderer.
|
boolean onKeyEvent(CefBrowser browser, CefKeyboardHandler.CefKeyEvent event)
browser - the corresponding browser.event - contains information about the keyboard event.boolean onPreKeyEvent(CefBrowser browser, CefKeyboardHandler.CefKeyEvent event, BoolRef is_keyboard_shortcut)
browser - the corresponding browser.event - contains information about the keyboard event.is_keyboard_shortcut - set to true and return false, if
the event will be handled in OnKeyEvent() as a keyboard shortcut.