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

Unified Diff: chrome/browser/ui/gtk/browser_window_gtk.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 | « no previous file | chrome/browser/ui/gtk/browser_window_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/browser_window_gtk.h
diff --git a/chrome/browser/ui/gtk/browser_window_gtk.h b/chrome/browser/ui/gtk/browser_window_gtk.h
index ab1f15110b2a5eb299db9f69cd26403e6f895a1e..b1b3f86b9b7539780beeebd6d3ed3e1041d7a623 100644
--- a/chrome/browser/ui/gtk/browser_window_gtk.h
+++ b/chrome/browser/ui/gtk/browser_window_gtk.h
@@ -250,6 +250,12 @@ class BrowserWindowGtk : public BrowserWindow,
// Returns |true| if we should use the custom frame.
virtual bool UseCustomFrame();
+ // Called when the window size changed.
+ virtual void OnSizeChanged(int width, int height);
+
+ // Returns the size of the window frame around the client content area.
+ gfx::Size GetNonClientFrameSize() const;
+
// Top level window.
GtkWindow* window_;
// GtkAlignment that holds the interior components of the chromium window.
@@ -293,9 +299,6 @@ class BrowserWindowGtk : public BrowserWindow,
// not).
void SetBackgroundColor();
- // Called when the window size changed.
- void OnSizeChanged(int width, int height);
-
// Applies the window shape to if we're in custom drawing mode.
void UpdateWindowShape(int width, int height);
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698