Index: extensions/components/native_app_window/native_app_window_views.cc |
diff --git a/extensions/components/native_app_window/native_app_window_views.cc b/extensions/components/native_app_window/native_app_window_views.cc |
index ed415f1cbd55a74c825cc0c8224cf21fa561be2f..46f6203bb012b59a8c5c2061ee5d54cc3779dc43 100644 |
--- a/extensions/components/native_app_window/native_app_window_views.cc |
+++ b/extensions/components/native_app_window/native_app_window_views.cc |
@@ -378,6 +378,13 @@ void NativeAppWindowViews::SetInterceptAllKeys(bool want_all_keys) { |
// Stub implementation. See also ChromeNativeAppWindowViews. |
} |
+bool NativeAppWindowViews::PreHandleKeyboardEvent( |
+ content::WebContents* source, |
+ const content::NativeWebKeyboardEvent& event, |
+ bool* is_keyboard_shortcut) { |
+ return false; |
+} |
+ |
void NativeAppWindowViews::HandleKeyboardEvent( |
const content::NativeWebKeyboardEvent& event) { |
unhandled_keyboard_event_handler_.HandleKeyboardEvent(event, |