Chromium Code Reviews| Index: chrome/browser/ui/panels/panel.cc |
| diff --git a/chrome/browser/ui/panels/panel.cc b/chrome/browser/ui/panels/panel.cc |
| index ddc22f4aa5faedfeb4e3af7602f9e9699b4b8303..fde286438b557d9519fcd3bd3d91d7bd540721ef 100644 |
| --- a/chrome/browser/ui/panels/panel.cc |
| +++ b/chrome/browser/ui/panels/panel.cc |
| @@ -175,8 +175,8 @@ void Panel::ShowInactive() { |
| } |
| void Panel::SetBounds(const gfx::Rect& bounds) { |
| - // Ignore any SetBounds requests since the bounds are completely controlled |
| - // by panel manager. |
| + // Ignore bounds position as the panel manager controls all positioning. |
| + manager()->ResizePanel(this, bounds.size()); |
|
jianli
2012/01/11 00:29:13
For detached panel case, do we want to allow the A
jennb
2012/01/11 00:36:26
Probably, but that's future code.
|
| } |
| // Close() may be called multiple times if the browser window is not ready to |