Chromium Code Reviews| Index: chrome/browser/ui/panels/panel_manager.cc |
| diff --git a/chrome/browser/ui/panels/panel_manager.cc b/chrome/browser/ui/panels/panel_manager.cc |
| index b86f15e36d8092df68eebd978370104bab3640db..b9c54f49df4de3658dfc295113370835e13eba47 100644 |
| --- a/chrome/browser/ui/panels/panel_manager.cc |
| +++ b/chrome/browser/ui/panels/panel_manager.cc |
| @@ -182,11 +182,8 @@ void PanelManager::OnPreferredWindowSizeChanged( |
| } |
| void PanelManager::ResizePanel(Panel* panel, const gfx::Size& new_size) { |
| - // Explicit resizing is not allowed for auto-resizable panels for now. |
| - // http://crbug.com/109343 |
| - if (panel->auto_resizable()) |
| - return; |
| - |
| + // Resizing a panel will make it not auto-resizable. |
| + panel->SetAutoResizable(false); |
|
jennb
2012/02/28 23:45:15
When this calls DisableAutoResize, it passes the r
levin
2012/02/29 00:04:43
I moved this to be inside of ResizePanelWindow. I
|
| docked_strip_->ResizePanelWindow(panel, new_size); |
| } |