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

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

Issue 8762017: Support painting panel in iconified mode on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix trybot Created 9 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/panels/panel.h ('k') | chrome/browser/ui/panels/panel_browser_frame_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel_browser_frame_view.h
diff --git a/chrome/browser/ui/panels/panel_browser_frame_view.h b/chrome/browser/ui/panels/panel_browser_frame_view.h
index 2590d55cd783f9564c8288794931f19f92e08fb8..ab6ba7646fed46148bab02fbc3abb7183f265933 100644
--- a/chrome/browser/ui/panels/panel_browser_frame_view.h
+++ b/chrome/browser/ui/panels/panel_browser_frame_view.h
@@ -54,6 +54,10 @@ class PanelBrowserFrameView : public BrowserNonClientFrameView,
// the size of the client area.
gfx::Size NonClientAreaSize() const;
+ // Returns the size of the non-client area upon which only the title icon
+ // is drawn.
+ gfx::Size IconifiedSize() const;
+
protected:
// Overridden from BrowserNonClientFrameView:
virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;
@@ -137,6 +141,9 @@ class PanelBrowserFrameView : public BrowserNonClientFrameView,
// borders, including both the window frame and any client edge.
int NonClientBorderThickness() const;
+ // Returns the width of the panel that is showing only an icon.
+ int IconOnlyWidth() const;
+
// Update control styles to indicate if the titlebar is active or not.
void UpdateControlStyles(PaintState paint_state);
« no previous file with comments | « chrome/browser/ui/panels/panel.h ('k') | chrome/browser/ui/panels/panel_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698