OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 UI_VIEWS_WIDGET_WIDGET_H_ | 5 #ifndef UI_VIEWS_WIDGET_WIDGET_H_ |
6 #define UI_VIEWS_WIDGET_WIDGET_H_ | 6 #define UI_VIEWS_WIDGET_WIDGET_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <stack> | 9 #include <stack> |
10 #include <vector> | 10 #include <vector> |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 // fully opaque. Defaults to TRANSLUCENT_WINDOW if | 182 // fully opaque. Defaults to TRANSLUCENT_WINDOW if |
183 // ViewsDelegate::UseTransparentWindows(). Defaults to OPAQUE_WINDOW for | 183 // ViewsDelegate::UseTransparentWindows(). Defaults to OPAQUE_WINDOW for |
184 // non-window widgets. | 184 // non-window widgets. |
185 WindowOpacity opacity; | 185 WindowOpacity opacity; |
186 bool accept_events; | 186 bool accept_events; |
187 bool can_activate; | 187 bool can_activate; |
188 bool keep_on_top; | 188 bool keep_on_top; |
189 Ownership ownership; | 189 Ownership ownership; |
190 bool mirror_origin_in_rtl; | 190 bool mirror_origin_in_rtl; |
191 bool has_dropshadow; | 191 bool has_dropshadow; |
192 // Only used by Windows. Specifies that the system default caption and icon | 192 // Specifies that the system default caption and icon should not be |
193 // should not be rendered, and that the client area should be equivalent to | 193 // rendered, and that the client area should be equivalent to the window |
194 // the window area. | 194 // area. Only used on some platforms (Windows and Linux). |
195 bool remove_standard_frame; | 195 bool remove_standard_frame; |
196 // Only used by ShellWindow on Windows. Specifies that the default icon of | 196 // Only used by ShellWindow on Windows. Specifies that the default icon of |
197 // packaged app should be the system default icon. | 197 // packaged app should be the system default icon. |
198 bool use_system_default_icon; | 198 bool use_system_default_icon; |
199 // Whether the widget should be maximized or minimized. | 199 // Whether the widget should be maximized or minimized. |
200 ui::WindowShowState show_state; | 200 ui::WindowShowState show_state; |
201 // Should the widget be double buffered? Default is false. | 201 // Should the widget be double buffered? Default is false. |
202 bool double_buffer; | 202 bool double_buffer; |
203 gfx::NativeView parent; | 203 gfx::NativeView parent; |
204 // Specifies the initial bounds of the Widget. Default is empty, which means | 204 // Specifies the initial bounds of the Widget. Default is empty, which means |
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
891 // True when window movement via mouse interaction with the frame should be | 891 // True when window movement via mouse interaction with the frame should be |
892 // disabled. | 892 // disabled. |
893 bool movement_disabled_; | 893 bool movement_disabled_; |
894 | 894 |
895 DISALLOW_COPY_AND_ASSIGN(Widget); | 895 DISALLOW_COPY_AND_ASSIGN(Widget); |
896 }; | 896 }; |
897 | 897 |
898 } // namespace views | 898 } // namespace views |
899 | 899 |
900 #endif // UI_VIEWS_WIDGET_WIDGET_H_ | 900 #endif // UI_VIEWS_WIDGET_WIDGET_H_ |
OLD | NEW |