diff options
Diffstat (limited to 'views/window/window_gtk.h')
-rw-r--r-- | views/window/window_gtk.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/views/window/window_gtk.h b/views/window/window_gtk.h index d38ce62..18b9210 100644 --- a/views/window/window_gtk.h +++ b/views/window/window_gtk.h @@ -71,6 +71,10 @@ class WindowGtk : public WidgetGtk, public Window { void Init(const gfx::Rect& bounds); private: + // Used to track window state changes + static void CallWindowStateEvent(GtkWidget* widget, + GdkEventWindowState* window_state); + // Asks the delegate if any to save the window's location and size. void SaveWindowPosition(); @@ -91,6 +95,12 @@ class WindowGtk : public WidgetGtk, public Window { // 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); }; |