Index: chrome/browser/ui/panels/panel.h |
=================================================================== |
--- chrome/browser/ui/panels/panel.h (revision 90291) |
+++ chrome/browser/ui/panels/panel.h (working copy) |
@@ -31,9 +31,6 @@ |
// Returns the PanelManager associated with this panel. |
PanelManager* manager() const; |
- void Minimize(); |
- void Restore(); |
- |
// BrowserWindow overrides. |
virtual void Show() OVERRIDE; |
virtual void ShowInactive() OVERRIDE; |
@@ -148,6 +145,7 @@ |
private: |
friend class PanelManager; |
+ friend class PanelManagerWin; |
// Panel can only be created using PanelManager::CreatePanel(). |
Panel(Browser* browser, const gfx::Rect& bounds); |
@@ -158,6 +156,9 @@ |
// not allowed for Panel. |
void SetPanelBounds(const gfx::Rect& bounds); |
+ void Minimize(); |
+ void Restore(bool titlebar_only); |
+ |
// Platform specifc implementation for panels. It'd be one of |
// PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. |
NativePanel* native_panel_; // Weak, owns us. |