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

Unified Diff: chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller.h

Issue 1419603004: [Extensions Toolbar] Fix action pop out bug and views animation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/wrench_menu/wrench_menu_controller.h
diff --git a/chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller.h b/chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller.h
index baef174f3d63550336db0d73456947d1ed3b718d..c76e9f085b1e366cfcd610d30a7624ffa039b6c2 100644
--- a/chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller.h
+++ b/chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller.h
@@ -30,6 +30,7 @@ extern const CGFloat kWrenchBubblePointOffsetY;
namespace WrenchMenuControllerInternal {
class AcceleratorDelegate;
class ZoomLevelObserver;
+class ToolbarActionsBarObserverHelper;
Avi (use Gerrit) 2015/10/22 21:32:02 alphabetize
Devlin 2015/10/22 22:18:05 Done.
} // namespace WrenchMenuControllerInternal
// The Wrench menu has a creative layout, with buttons in menu items. There is
@@ -65,7 +66,12 @@ class ZoomLevelObserver;
scoped_ptr<BookmarkMenuBridge> bookmarkMenuBridge_;
// Observer for page zoom level change notifications.
- scoped_ptr<WrenchMenuControllerInternal::ZoomLevelObserver> observer_;
+ scoped_ptr<WrenchMenuControllerInternal::ZoomLevelObserver>
+ zoom_level_observer_;
+
+ // Observer for the main window's ToolbarActionsBar changing size.
+ scoped_ptr<WrenchMenuControllerInternal::ToolbarActionsBarObserverHelper>
+ toolbar_actions_bar_observer_;
// The controller for the toolbar actions overflow that is stored in the
// wrench menu.
@@ -92,6 +98,9 @@ class ZoomLevelObserver;
// updating the recent tabs submenu.
- (void)updateRecentTabsSubmenu;
+// Updates the browser actions section of the menu.
+- (void)updateBrowserActionsSubmenu;
+
// Retuns the weak reference to the BrowserActionsController.
- (BrowserActionsController*)browserActionsController;

Powered by Google App Engine
This is Rietveld 408576698