Index: chrome/browser/chromeos/frame/panel_browser_view.cc |
=================================================================== |
--- chrome/browser/chromeos/frame/panel_browser_view.cc (revision 98696) |
+++ chrome/browser/chromeos/frame/panel_browser_view.cc (working copy) |
@@ -110,18 +110,18 @@ |
return chromeos::BrowserView::DispositionForPopupBounds(bounds); |
} |
-bool PanelBrowserView::GetSavedWindowPlacement( |
- gfx::Rect* bounds, |
- ui::WindowShowState* show_state) const { |
- bool result = ::BrowserView::GetSavedWindowPlacement(bounds, show_state); |
- if (result) { |
+bool PanelBrowserView::GetSavedWindowBounds(gfx::Rect* bounds) const { |
+ bool res = ::BrowserView::GetSavedWindowBounds(bounds); |
+ if (res) |
LimitBounds(bounds); |
- // Panels have no maximized state. |
- *show_state = ui::SHOW_STATE_NORMAL; |
- } |
- return result; |
+ return res; |
} |
+bool PanelBrowserView::GetSavedMaximizedState(bool* maximized) const { |
+ // Panels have no maximized state. |
+ return false; |
+} |
+ |
//////////////////////////////////////////////////////////////////////////////// |
// views::Widget::Observer overrides. |