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

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: Rebase 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..36e569dc9fb05dcf61f280547ebcc8058be93b92 100644
--- a/chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller.h
+++ b/chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller.h
@@ -29,6 +29,7 @@ extern const CGFloat kWrenchBubblePointOffsetY;
namespace WrenchMenuControllerInternal {
class AcceleratorDelegate;
+class ToolbarActionsBarObserverHelper;
class ZoomLevelObserver;
} // namespace WrenchMenuControllerInternal
@@ -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;
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698