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

Unified Diff: chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm

Issue 10880064: Make extension commands grant the activeTab permission. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments 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/cocoa/extensions/shell_window_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm b/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm
index a51806361a3e558bbf08a6e662eaf341a7e7ffbe..c0e9ea17574bec1553c2a531ffab4fc43f272dd6 100644
--- a/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm
+++ b/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm
@@ -224,9 +224,11 @@ ShellWindowCocoa::ShellWindowCocoa(ShellWindow* shell_window,
[[window_controller_ window] setDelegate:window_controller_];
[window_controller_ setShellWindow:this];
- extension_keybinding_registry_.reset(
- new ExtensionKeybindingRegistryCocoa(shell_window_->profile(), window,
- extensions::ExtensionKeybindingRegistry::PLATFORM_APPS_ONLY));
+ extension_keybinding_registry_.reset(new ExtensionKeybindingRegistryCocoa(
+ shell_window_->profile(),
+ window,
+ extensions::ExtensionKeybindingRegistry::PLATFORM_APPS_ONLY,
+ shell_window));
}
void ShellWindowCocoa::InstallView() {
« no previous file with comments | « chrome/browser/ui/cocoa/extensions/extension_keybinding_registry_cocoa.mm ('k') | chrome/browser/ui/extensions/shell_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698