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

Unified Diff: chrome/browser/ui/cocoa/location_bar/plus_decoration.mm

Issue 10887029: Only show chrome2mobile in action box if it is enabled (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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/cocoa/location_bar/plus_decoration.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/plus_decoration.mm b/chrome/browser/ui/cocoa/location_bar/plus_decoration.mm
index 7cf6ebcbe6c809f682b69a174840fc98ea8a1d3a..a3eb89278871fcebef2afd15c62a3d29c74ddc73 100644
--- a/chrome/browser/ui/cocoa/location_bar/plus_decoration.mm
+++ b/chrome/browser/ui/cocoa/location_bar/plus_decoration.mm
@@ -47,7 +47,7 @@ bool PlusDecoration::AcceptsMousePress() {
bool PlusDecoration::OnMousePressed(NSRect frame) {
ExtensionService* extension_service = extensions::ExtensionSystem::Get(
browser_->profile())->extension_service();
- ActionBoxMenuModel menu_model(browser_, extension_service);
+ ActionBoxMenuModel menu_model(browser_, extension_service, command_updater_);
// Controller for the menu attached to the plus decoration.
scoped_nsobject<MenuController> menu_controller(
« no previous file with comments | « no previous file | chrome/browser/ui/toolbar/action_box_menu_model.h » ('j') | chrome/browser/ui/toolbar/action_box_menu_model.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698