summaryrefslogtreecommitdiffstats
path: root/views/window/window_gtk.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-02 15:17:16 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-02 15:17:16 +0000
commita7859412517983e37dee8fabf398ca27701c5ad0 (patch)
tree40dfc13819789b8daa3729219022e45babbab704 /views/window/window_gtk.h
parentf67131a62cfde0397fe4f442fdf7aa4925986c73 (diff)
downloadchromium_src-a7859412517983e37dee8fabf398ca27701c5ad0.zip
chromium_src-a7859412517983e37dee8fabf398ca27701c5ad0.tar.gz
chromium_src-a7859412517983e37dee8fabf398ca27701c5ad0.tar.bz2
Fixes a couple of bugs encountered in getting info bubbles to work:
. Initial bounds of windows weren't being set. . Widgets were created initially shown. This was bad for windows as the window would end up showing prematurely. . WindowGtk::window_state_ wasn't being initialized. . And then actual InfoBubble stuff: properly init the bubble, show it and position it on the monitor. BUG=none TEST=none Review URL: http://codereview.chromium.org/118102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17401 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window/window_gtk.h')
-rw-r--r--views/window/window_gtk.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/window/window_gtk.h b/views/window/window_gtk.h
index 80ed1dd..a670536 100644
--- a/views/window/window_gtk.h
+++ b/views/window/window_gtk.h
@@ -96,8 +96,9 @@ class WindowGtk : public WidgetGtk, public Window {
// desired implementation before calling |Init|.
NonClientView* non_client_view_;
-
+ // State of the window, such as fullscreen, hidden...
GdkWindowState window_state_;
+
// Set to true if the window is in the process of closing.
bool window_closed_;