Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(809)

Unified Diff: ui/views/controls/webview/unhandled_keyboard_event_handler.h

Issue 679743002: MacViews: UnhandledKeyboardEventHandler stub (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/controls/webview/unhandled_keyboard_event_handler.h
diff --git a/ui/views/controls/webview/unhandled_keyboard_event_handler.h b/ui/views/controls/webview/unhandled_keyboard_event_handler.h
index 6d30baf97d3c307249ee25f579d0fafa26f4d9e0..e444b692d34b9fc2f7eee7cc1ee7e63ef7754545 100644
--- a/ui/views/controls/webview/unhandled_keyboard_event_handler.h
+++ b/ui/views/controls/webview/unhandled_keyboard_event_handler.h
@@ -6,6 +6,7 @@
#define UI_VIEWS_CONTROLS_WEBVIEW_UNHANDLED_KEYBOARD_EVENT_HANDLER_H_
#include "base/basictypes.h"
+#include "ui/gfx/native_widget_types.h"
#include "ui/views/controls/webview/webview_export.h"
namespace content {
@@ -26,6 +27,10 @@ class WEBVIEW_EXPORT UnhandledKeyboardEventHandler {
FocusManager* focus_manager);
private:
+ // Platform specific handling for unhandled keyboard events.
+ static void HandleNativeKeyboardEvent(gfx::NativeEvent event,
+ FocusManager* focus_manager);
+
// Whether to ignore the next Char keyboard event.
// If a RawKeyDown event was handled as a shortcut key, then we're done
// handling it and should eat any Char event that the translate phase may

Powered by Google App Engine
This is Rietveld 408576698