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

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

Issue 7982016: Panel auto-resize for GTK. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Feedback changes. Created 9 years, 3 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
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | 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 cb843d379be1c75ac09cb5c86ddfd4ae25e81f65..56838004fa813c432c6c890720486870e9fefb7c 100644
--- a/chrome/browser/ui/panels/panel.h
+++ b/chrome/browser/ui/panels/panel.h
@@ -176,6 +176,10 @@ class Panel : public BrowserWindow, public NotificationObserver {
// Returns NULL if it cannot be found.
static const Extension* GetExtensionFromBrowser(Browser* browser);
+ // Used on platforms where the panel cannot determine its non-client area
+ // until the window has been created. (e.g. GTK)
+ void OnNonClientExtentAvailable();
+
NativePanel* native_panel() { return native_panel_; }
Browser* browser() const;
ExpansionState expansion_state() const { return expansion_state_; }
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698