Index: chrome/browser/ui/views/toolbar/browser_actions_container.h |
diff --git a/chrome/browser/ui/views/toolbar/browser_actions_container.h b/chrome/browser/ui/views/toolbar/browser_actions_container.h |
index f3702c5aa560c5c1824198a68836a2d4c9d4e201..da3004c06b425c71f0a995d38721faf5c319cb6f 100644 |
--- a/chrome/browser/ui/views/toolbar/browser_actions_container.h |
+++ b/chrome/browser/ui/views/toolbar/browser_actions_container.h |
@@ -187,6 +187,10 @@ class BrowserActionsContainer |
void ExecuteExtensionCommand(const extensions::Extension* extension, |
const extensions::Command& command); |
+ // Notify the browser action container that an extension has been moved to |
+ // the overflow container. |
+ void NotifyActionMovedToOverflow(); |
+ |
// Add or remove an observer. |
void AddObserver(BrowserActionsContainerObserver* observer); |
void RemoveObserver(BrowserActionsContainerObserver* observer); |
@@ -351,6 +355,9 @@ class BrowserActionsContainer |
// mode). See class comments for details on the difference. |
bool in_overflow_mode() const { return main_container_ != NULL; } |
+ // Whether or not the container has been initialized. |
+ bool initialized_; |
+ |
// The vector of browser actions (icons/image buttons for each action). Note |
// that not every BrowserAction in the ToolbarModel will necessarily be in |
// this collection. Some extensions may be disabled in incognito windows. |