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

Unified Diff: chrome/browser/ui/gtk/extensions/shell_window_gtk.h

Issue 10911020: Enable commands API for platform apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: filter by extension type instead of specific extensions Created 8 years, 4 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/gtk/extensions/shell_window_gtk.h
diff --git a/chrome/browser/ui/gtk/extensions/shell_window_gtk.h b/chrome/browser/ui/gtk/extensions/shell_window_gtk.h
index 96fbc1ef93268ec38b7cdf0e115b97a67d677f6c..7684dcadd0a668794172aef9b6881df0bce860fd 100644
--- a/chrome/browser/ui/gtk/extensions/shell_window_gtk.h
+++ b/chrome/browser/ui/gtk/extensions/shell_window_gtk.h
@@ -15,6 +15,7 @@
#include "ui/base/x/active_window_watcher_x_observer.h"
#include "ui/gfx/rect.h"
+class ExtensionKeybindingRegistryGtk;
class Profile;
namespace extensions {
@@ -111,6 +112,11 @@ class ShellWindowGtk : public NativeShellWindow,
// True if the window shows without frame.
bool frameless_;
+ // The Extension Keybinding Registry responsible for registering listeners for
+ // accelerators that are sent to the window, that are destined to be turned
+ // into events and sent to the extension.
+ scoped_ptr<ExtensionKeybindingRegistryGtk> extension_keybinding_registry_;
+
DISALLOW_COPY_AND_ASSIGN(ShellWindowGtk);
};

Powered by Google App Engine
This is Rietveld 408576698