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

Unified Diff: chrome/browser/ui/views/apps/chrome_native_app_window_views.h

Issue 1316013004: Remove "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 5 years, 3 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: chrome/browser/ui/views/apps/chrome_native_app_window_views.h
diff --git a/chrome/browser/ui/views/apps/chrome_native_app_window_views.h b/chrome/browser/ui/views/apps/chrome_native_app_window_views.h
index 5de83b1eff194d597b6aa8935b508d93dcf1624b..e28cf8835f002f804e2d63f9f9ed6794e9e47645 100644
--- a/chrome/browser/ui/views/apps/chrome_native_app_window_views.h
+++ b/chrome/browser/ui/views/apps/chrome_native_app_window_views.h
@@ -12,7 +12,6 @@ namespace apps {
class AppWindowFrameView;
}
-class DesktopKeyboardCapture;
class ExtensionKeybindingRegistryViews;
class ChromeNativeAppWindowViews
@@ -67,7 +66,6 @@ class ChromeNativeAppWindowViews
bool HasFrameColor() const override;
SkColor ActiveFrameColor() const override;
SkColor InactiveFrameColor() const override;
- void SetInterceptAllKeys(bool want_all_keys) override;
// NativeAppWindowViews implementation.
void InitializeWindow(
@@ -87,9 +85,6 @@ class ChromeNativeAppWindowViews
// The class that registers for keyboard shortcuts for extension commands.
scoped_ptr<ExtensionKeybindingRegistryViews> extension_keybinding_registry_;
- // Used to capture all keyboard events including task switching sequence.
- scoped_ptr<DesktopKeyboardCapture> desktop_keyboard_capture_;
-
DISALLOW_COPY_AND_ASSIGN(ChromeNativeAppWindowViews);
};

Powered by Google App Engine
This is Rietveld 408576698