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

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

Issue 8776035: Add PanelOverflowStrip to handle panel overflow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Prepare for final landing Created 9 years 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 | « no previous file | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel.h
diff --git a/chrome/browser/ui/panels/panel.h b/chrome/browser/ui/panels/panel.h
index 094e523da7e86fdfc93b50a92cfbe2029a63859c..c9f4eab76d2a2a153a3d0b44b196089547375016 100644
--- a/chrome/browser/ui/panels/panel.h
+++ b/chrome/browser/ui/panels/panel.h
@@ -69,6 +69,18 @@ class Panel : public BrowserWindow,
// b) it remains on top when an app exits full screen mode.
void FullScreenModeChanged(bool is_full_screen);
+ void MoveOutOfOverflow();
+
+ // Ensures that the panel is fully visible, that is, not obscured by other
+ // top-most windows.
+ void EnsureFullyVisible();
+
+ int TitleOnlyHeight() const;
+
+ // Returns the size of the panel when it is iconified, as shown on the
+ // overflow area.
+ gfx::Size IconOnlySize() const;
+
// BrowserWindow overrides.
virtual void Show() OVERRIDE;
virtual void ShowInactive() OVERRIDE;
« no previous file with comments | « no previous file | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698