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

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

Issue 11103042: New custom styling for action box menu on Os X. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Check that icon exists before setting it. Created 8 years, 2 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 6f2422653c398e25ebe60e4a2f768b8f8bfb6947..e318c70f29c5ae372af8732d19303f8349c8933c 100644
--- a/chrome/browser/ui/cocoa/location_bar/plus_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/plus_decoration.h
@@ -7,9 +7,11 @@
#import <Cocoa/Cocoa.h>
+#include "base/memory/scoped_nsobject.h"
#include "chrome/browser/ui/cocoa/location_bar/button_decoration.h"
#include "chrome/browser/ui/toolbar/action_box_button_controller.h"
+@class ActionBoxMenuBubbleController;
class Browser;
class LocationBarViewMac;
@@ -52,6 +54,8 @@ class PlusDecoration : public ButtonDecoration,
void SetIcons(int normal_id, int hover_id, int pressed_id);
+ scoped_nsobject<ActionBoxMenuBubbleController> menu_controller_;
+
DISALLOW_COPY_AND_ASSIGN(PlusDecoration);
};

Powered by Google App Engine
This is Rietveld 408576698