| Index: chrome/browser/views/tabs/tab_strip.cc
|
| ===================================================================
|
| --- chrome/browser/views/tabs/tab_strip.cc (revision 8802)
|
| +++ chrome/browser/views/tabs/tab_strip.cc (working copy)
|
| @@ -906,6 +906,15 @@
|
| tab->UpdateFromModel();
|
| }
|
|
|
| +void TabStrip::TabClosingAt(TabContents* contents, int index) {
|
| + Tab* last_tab = GetTabAt(GetTabCount() - 1);
|
| + // Limit the width available to the TabStrip for laying out Tabs, so that
|
| + // Tabs are not resized until a later time (when the mouse pointer leaves
|
| + // the TabStrip).
|
| + available_width_for_tabs_ = GetAvailableWidthForTabs(last_tab);
|
| + resize_layout_scheduled_ = true;
|
| +}
|
| +
|
| ///////////////////////////////////////////////////////////////////////////////
|
| // TabStrip, Tab::Delegate implementation:
|
|
|
|
|