| Index: chrome/browser/ui/panels/panel_browser_window_cocoa.mm
|
| diff --git a/chrome/browser/ui/panels/panel_browser_window_cocoa.mm b/chrome/browser/ui/panels/panel_browser_window_cocoa.mm
|
| index 64a9224b6b91c83c3ede9b80d9f15a5bef249576..7a1f57e9d48cc06d5b295fc4b2b696267b7e2897 100644
|
| --- a/chrome/browser/ui/panels/panel_browser_window_cocoa.mm
|
| +++ b/chrome/browser/ui/panels/panel_browser_window_cocoa.mm
|
| @@ -102,14 +102,15 @@ gfx::Rect PanelBrowserWindowCocoa::GetPanelBounds() const {
|
|
|
| // |bounds| is the platform-independent screen coordinates, with (0,0) at
|
| // top-left of the primary screen.
|
| -void PanelBrowserWindowCocoa::SetPanelBounds(const gfx::Rect& bounds) {
|
| +void PanelBrowserWindowCocoa::SetPanelBounds(const gfx::Rect& bounds,
|
| + bool animate) {
|
| if (bounds_ == bounds)
|
| return;
|
|
|
| bounds_ = bounds;
|
|
|
| NSRect frame = ConvertCoordinatesToCocoa(bounds);
|
| - [controller_ setPanelFrame:frame];
|
| + [controller_ setPanelFrame:frame animate:animate];
|
| }
|
|
|
| void PanelBrowserWindowCocoa::ClosePanel() {
|
|
|