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

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

Issue 8681025: Add methods needed for overflow panels to NativePanel interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedback 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 | « no previous file | chrome/browser/ui/panels/panel_browser_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/native_panel.h
diff --git a/chrome/browser/ui/panels/native_panel.h b/chrome/browser/ui/panels/native_panel.h
index 4d1581d81b2273b86d9e09523001176f5c693616..0091494e1286f91a97510c8871e76f8dede02098 100644
--- a/chrome/browser/ui/panels/native_panel.h
+++ b/chrome/browser/ui/panels/native_panel.h
@@ -70,6 +70,14 @@ class NativePanel {
const gfx::Size& window_size) const = 0;
virtual int TitleOnlyHeight() const = 0;
+
+ // Returns the size of the iconified panel. This is the size we use to draw
+ // the panel put in the overflow area.
+ virtual gfx::Size GetIconifiedPanelSize() const = 0;
jennb 2011/12/01 18:45:25 Agree with prasadt that on confusion as to what an
+
+ // Brings the panel to the top of the z-order without activating it. This
+ // will make sure that the panel is not obscured by other top-most windows.
+ virtual void EnsurePanelFullyVisible() = 0;
jennb 2011/12/01 18:45:25 I don't care if you want to call this BringToTopWi
};
// A NativePanel utility interface used for accessing elements of the
« no previous file with comments | « no previous file | chrome/browser/ui/panels/panel_browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698