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

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: 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/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 0d79bd16a9bcbcb0d69eeee315a6eb4148096f11..01e2b00193fc4188723717254dc3e61bab97fd11 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