OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef VIEWS_WINDOW_WINDOW_GTK_H_ | 5 #ifndef VIEWS_WINDOW_WINDOW_GTK_H_ |
6 #define VIEWS_WINDOW_WINDOW_GTK_H_ | 6 #define VIEWS_WINDOW_WINDOW_GTK_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "views/widget/widget_gtk.h" | 9 #include "views/widget/widget_gtk.h" |
10 #include "views/window/window.h" | 10 #include "views/window/window.h" |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 89 |
90 // Our window delegate. | 90 // Our window delegate. |
91 WindowDelegate* window_delegate_; | 91 WindowDelegate* window_delegate_; |
92 | 92 |
93 // The View that provides the non-client area of the window (title bar, | 93 // The View that provides the non-client area of the window (title bar, |
94 // window controls, sizing borders etc). To use an implementation other than | 94 // window controls, sizing borders etc). To use an implementation other than |
95 // the default, this class must be subclassed and this value set to the | 95 // the default, this class must be subclassed and this value set to the |
96 // desired implementation before calling |Init|. | 96 // desired implementation before calling |Init|. |
97 NonClientView* non_client_view_; | 97 NonClientView* non_client_view_; |
98 | 98 |
| 99 // State of the window, such as fullscreen, hidden... |
| 100 GdkWindowState window_state_; |
99 | 101 |
100 GdkWindowState window_state_; | |
101 // Set to true if the window is in the process of closing. | 102 // Set to true if the window is in the process of closing. |
102 bool window_closed_; | 103 bool window_closed_; |
103 | 104 |
104 DISALLOW_COPY_AND_ASSIGN(WindowGtk); | 105 DISALLOW_COPY_AND_ASSIGN(WindowGtk); |
105 }; | 106 }; |
106 | 107 |
107 } // namespace views | 108 } // namespace views |
108 | 109 |
109 #endif // VIEWS_WINDOW_WINDOW_GTK_H_ | 110 #endif // VIEWS_WINDOW_WINDOW_GTK_H_ |
OLD | NEW |