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 978a5c33ce7f637c7724bd8cf7e78bc8043c2a97..78f2252b90ca262afd1c62ee16076ad6759ebe56 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); |
@@ -353,6 +357,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. |