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

Unified Diff: extensions/components/native_app_window/native_app_window_views.cc

Issue 297123002: API proposal for chrome.app.window to intercept all keys. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to TOT Created 6 years, 1 month 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: 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 7c1109a3459782f4052e26a3a765e42c810934cc..ed415f1cbd55a74c825cc0c8224cf21fa561be2f 100644
--- a/extensions/components/native_app_window/native_app_window_views.cc
+++ b/extensions/components/native_app_window/native_app_window_views.cc
@@ -374,6 +374,10 @@ void NativeAppWindowViews::UpdateShape(scoped_ptr<SkRegion> region) {
// Stub implementation. See also ChromeNativeAppWindowViews.
}
+void NativeAppWindowViews::SetInterceptAllKeys(bool want_all_keys) {
+ // Stub implementation. See also ChromeNativeAppWindowViews.
+}
+
void NativeAppWindowViews::HandleKeyboardEvent(
const content::NativeWebKeyboardEvent& event) {
unhandled_keyboard_event_handler_.HandleKeyboardEvent(event,
« no previous file with comments | « extensions/components/native_app_window/native_app_window_views.h ('k') | extensions/shell/browser/shell_native_app_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698