| 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 5c848718b3cad6d59bdba32ddf3726eeeda10d3f..e5eae55cc9fc9936c70f67f0b67f03da38981905 100644
|
| --- a/chrome/browser/ui/views/toolbar/browser_actions_container.h
|
| +++ b/chrome/browser/ui/views/toolbar/browser_actions_container.h
|
| @@ -173,6 +173,7 @@ class BrowserActionsContainer
|
|
|
| // Overridden from views::View:
|
| virtual gfx::Size GetPreferredSize() OVERRIDE;
|
| + virtual gfx::Size GetMinimumSize() OVERRIDE;
|
| virtual void Layout() OVERRIDE;
|
| virtual bool GetDropFormats(int* formats,
|
| std::set<ui::OSExchangeData::CustomFormat>* custom_formats) OVERRIDE;
|
| @@ -317,7 +318,7 @@ class BrowserActionsContainer
|
| // still show it. This assumes a visible chevron because the only way we
|
| // would not have a chevron when shrinking down this far is if there were no
|
| // icons, in which case the container wouldn't be shown at all.
|
| - int ContainerMinSize() const;
|
| + int MinimumNonemptyWidth() const;
|
|
|
| // Animate to the target size (unless testing, in which case we go straight to
|
| // the target size). This also saves the target number of visible icons in
|
|
|