diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-04 03:49:49 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-04 03:49:49 +0000 |
commit | 1cd6d7ffcfb20215c225e613a67b39dc5f51c4cf (patch) | |
tree | e5675385887bb9b244f10e8f4e5bf2090ef3e135 /views/window/window_gtk.h | |
parent | 3c615f736d826d651890df71b0775873771aa7c0 (diff) | |
download | chromium_src-1cd6d7ffcfb20215c225e613a67b39dc5f51c4cf.zip chromium_src-1cd6d7ffcfb20215c225e613a67b39dc5f51c4cf.tar.gz chromium_src-1cd6d7ffcfb20215c225e613a67b39dc5f51c4cf.tar.bz2 |
Implement custom window shapes as provided by the NonClientView in WindowGtk.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/119145
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17597 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window/window_gtk.h')
-rw-r--r-- | views/window/window_gtk.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/views/window/window_gtk.h b/views/window/window_gtk.h index a670536..94cca05 100644 --- a/views/window/window_gtk.h +++ b/views/window/window_gtk.h @@ -24,7 +24,7 @@ class WindowGtk : public WidgetGtk, public Window { public: virtual ~WindowGtk(); - // Window overrides: + // Overridden from Window: virtual gfx::Rect GetBounds() const; virtual gfx::Rect GetNormalBounds() const; virtual void SetBounds(const gfx::Rect& bounds, @@ -61,6 +61,9 @@ class WindowGtk : public WidgetGtk, public Window { virtual Window* AsWindow() { return this; } virtual const Window* AsWindow() const { return this; } + // Overridden from WidgetGtk: + virtual void OnSizeAllocate(GtkWidget* widget, GtkAllocation* allocation); + protected: // For the constructor. friend class Window; |