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

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

Issue 10887029: Only show chrome2mobile in action box if it is enabled (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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.h
diff --git a/chrome/browser/ui/cocoa/location_bar/plus_decoration.h b/chrome/browser/ui/cocoa/location_bar/plus_decoration.h
index 8f35f5c3804fd93980761996dc50a137857d0806..6c71b506a469e84b2b840307d59fa57b2954d168 100644
--- a/chrome/browser/ui/cocoa/location_bar/plus_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/plus_decoration.h
@@ -11,7 +11,6 @@
#include "chrome/browser/ui/cocoa/location_bar/image_decoration.h"
class Browser;
-class CommandUpdater;
class LocationBarViewMac;
// Note: this file is under development (see crbug.com/138118).
@@ -19,9 +18,7 @@ class LocationBarViewMac;
// Plus icon on the right side of the location bar.
class PlusDecoration : public ImageDecoration {
public:
- PlusDecoration(LocationBarViewMac* owner,
- CommandUpdater* command_updater,
- Browser* browser);
+ PlusDecoration(LocationBarViewMac* owner, Browser* browser);
virtual ~PlusDecoration();
// Helper to get where the action box menu and bubble point should be
@@ -37,8 +34,6 @@ class PlusDecoration : public ImageDecoration {
// Owner of the decoration, used to obtain the menu.
LocationBarViewMac* owner_;
- CommandUpdater* command_updater_; // Weak, owned by Browser.
-
Browser* browser_;
// The string to show for a tooltip.

Powered by Google App Engine
This is Rietveld 408576698