Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4012)

Unified Diff: chrome/browser/ui/panels/panel.h

Issue 7242017: Support minimizing the panel into 3-pixel line on Windows. Also support bringing up/down the titl... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698