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

Unified Diff: chrome/browser/ui/gtk/browser_window_gtk.cc

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/browser_window_gtk.cc
diff --git a/chrome/browser/ui/gtk/browser_window_gtk.cc b/chrome/browser/ui/gtk/browser_window_gtk.cc
index 8757517576c37e10ce3bb541ee811734a40dbc91..92a073c7063eb0b2818f02ea740617db257d2eec 100644
--- a/chrome/browser/ui/gtk/browser_window_gtk.cc
+++ b/chrome/browser/ui/gtk/browser_window_gtk.cc
@@ -1822,7 +1822,8 @@ void BrowserWindowGtk::InitWidgets() {
// Add the keybinding registry, now that the window has been realized.
extension_keybinding_registry_.reset(
- new ExtensionKeybindingRegistryGtk(browser_->profile(), window_));
+ new ExtensionKeybindingRegistryGtk(browser_->profile(), window_,
+ extensions::ExtensionKeybindingRegistry::ALL_EXTENSIONS));
// We have to call this after the first window is created, but after that only
// when the theme changes. This sets the icon that will be used for windows

Powered by Google App Engine
This is Rietveld 408576698