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 ab09ad11aace709cea1a50bf2e9f353669bc486c..f3702c5aa560c5c1824198a68836a2d4c9d4e201 100644 |
--- a/chrome/browser/ui/views/toolbar/browser_actions_container.h |
+++ b/chrome/browser/ui/views/toolbar/browser_actions_container.h |
@@ -295,8 +295,13 @@ class BrowserActionsContainer |
// Called when a browser action's visibility may have changed. |
void OnBrowserActionVisibilityChanged(); |
- // Sets the initial container width. |
- void SetContainerWidth(); |
+ // Returns the preferred width of the container in order to show all icons |
+ // that should be visible and, optionally, the chevron. |
+ int GetPreferredWidth(); |
+ |
+ // Sets the chevron to be visible or not based on whether all browser actions |
+ // are displayed. |
+ void SetChevronVisibility(); |
// Closes the overflow menu if open. |
void CloseOverflowMenu(); |