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

Unified Diff: chrome/browser/ui/cocoa/extensions/browser_actions_controller.h

Issue 754473003: [Extensions Toolbar Mac] More cleanup of BrowserActionsController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/browser_actions_controller.h
diff --git a/chrome/browser/ui/cocoa/extensions/browser_actions_controller.h b/chrome/browser/ui/cocoa/extensions/browser_actions_controller.h
index 6c95b94c8b73c924f2159f25a73a865890142dbb..1b42f02e26c974b7d08db5d6ac3c85adf01f22d1 100644
--- a/chrome/browser/ui/cocoa/extensions/browser_actions_controller.h
+++ b/chrome/browser/ui/cocoa/extensions/browser_actions_controller.h
@@ -14,7 +14,6 @@ class Browser;
@class BrowserActionButton;
@class BrowserActionsContainerView;
@class MenuButton;
-class Profile;
class ToolbarActionsBar;
class ToolbarActionsBarDelegate;
@@ -35,9 +34,6 @@ extern NSString* const kBrowserActionVisibilityChangedNotification;
// The view from Toolbar.xib we'll be rendering our browser actions in. Weak.
BrowserActionsContainerView* containerView_;
- // The current profile. Weak.
- Profile* profile_;
-
// Array of toolbar action buttons in the correct order for them to be
// displayed (includes both hidden and visible buttons).
base::scoped_nsobject<NSMutableArray> buttons_;
@@ -80,10 +76,6 @@ extern NSString* const kBrowserActionVisibilityChangedNotification;
// container.
- (NSUInteger)visibleButtonCount;
-// Resizes the container given the number of visible buttons, taking into
-// account the size of the grippy. Also updates the persistent width preference.
-- (void)resizeContainerAndAnimate:(BOOL)animate;
-
// Returns the saved width determined by the number of shown Browser Actions
// preference property. If no preference is found, then the width for the
// container is returned as if all buttons are shown.

Powered by Google App Engine
This is Rietveld 408576698