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

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: rebase Created 8 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/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 16f2586b159b19ff1894052ef87c003b7ba3d9d9..244268de3120dfd01795ff0aa9b6205177aec376 100644
--- a/chrome/browser/ui/gtk/extensions/shell_window_gtk.h
+++ b/chrome/browser/ui/gtk/extensions/shell_window_gtk.h
@@ -16,6 +16,7 @@
#include "ui/base/x/active_window_watcher_x_observer.h"
#include "ui/gfx/rect.h"
+class ExtensionKeybindingRegistryGtk;
class Profile;
namespace extensions {
@@ -118,6 +119,11 @@ class ShellWindowGtk : public NativeShellWindow,
// The timer used to save the window position for session restore.
base::OneShotTimer<ShellWindowGtk> window_configure_debounce_timer_;
+ // 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