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

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: Fix 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
Index: chrome/browser/ui/panels/panel.h
diff --git a/chrome/browser/ui/panels/panel.h b/chrome/browser/ui/panels/panel.h
index 05533c9dab20257fa64290bf2f0e62b48e277476..22a3ec9d81049de54eeb5302ad9a1e3c20920042 100644
--- a/chrome/browser/ui/panels/panel.h
+++ b/chrome/browser/ui/panels/panel.h
@@ -63,6 +63,16 @@ class Panel : public BrowserWindow,
bool IsDrawingAttention() const;
+ // 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;

Powered by Google App Engine
This is Rietveld 408576698