diff options
author | davemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-01 04:46:26 +0000 |
---|---|---|
committer | davemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-01 04:46:26 +0000 |
commit | dfd84056ab03d21844376b5d95989440ed86e84a (patch) | |
tree | 44d4e0639f344ae76690b85e077f28b5ab0adcf3 /views/window/window_gtk.h | |
parent | 39d72dc6fa1404e88b0ea64a0b4b33f29fba7a8b (diff) | |
download | chromium_src-dfd84056ab03d21844376b5d95989440ed86e84a.zip chromium_src-dfd84056ab03d21844376b5d95989440ed86e84a.tar.gz chromium_src-dfd84056ab03d21844376b5d95989440ed86e84a.tar.bz2 |
Remove warning about IsFullScreen() not being implented and
initialize window to proper size
Review URL: http://codereview.chromium.org/115983
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17309 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window/window_gtk.h')
-rw-r--r-- | views/window/window_gtk.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/views/window/window_gtk.h b/views/window/window_gtk.h index 92ccd56..05908f3 100644 --- a/views/window/window_gtk.h +++ b/views/window/window_gtk.h @@ -80,6 +80,9 @@ class WindowGtk : public WidgetGtk, public Window { // Asks the delegate if any to save the window's location and size. void SaveWindowPosition(); + void SetInitialBounds(const gfx::Rect& bounds); + void SizeWindowToDefault(); + // Whether or not the window is modal. This comes from the delegate and is // cached at Init time to avoid calling back to the delegate from the // destructor. @@ -94,15 +97,11 @@ class WindowGtk : public WidgetGtk, public Window { // desired implementation before calling |Init|. NonClientView* non_client_view_; + + GdkWindowState window_state_; // Set to true if the window is in the process of closing. bool window_closed_; - // Set to true if the window is maximized - bool window_maximized_; - - // Set to true of the window is minimized - bool window_minimized_; - DISALLOW_COPY_AND_ASSIGN(WindowGtk); }; |