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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 // fully opaque. Defaults to TRANSLUCENT_WINDOW if | 178 // fully opaque. Defaults to TRANSLUCENT_WINDOW if |
179 // ViewsDelegate::UseTransparentWindows(). Defaults to OPAQUE_WINDOW for | 179 // ViewsDelegate::UseTransparentWindows(). Defaults to OPAQUE_WINDOW for |
180 // non-window widgets. | 180 // non-window widgets. |
181 WindowOpacity opacity; | 181 WindowOpacity opacity; |
182 bool accept_events; | 182 bool accept_events; |
183 bool can_activate; | 183 bool can_activate; |
184 bool keep_on_top; | 184 bool keep_on_top; |
185 Ownership ownership; | 185 Ownership ownership; |
186 bool mirror_origin_in_rtl; | 186 bool mirror_origin_in_rtl; |
187 bool has_dropshadow; | 187 bool has_dropshadow; |
188 // Only used by Windows. Specifies that the system default caption and icon | 188 // Specifies that the system default caption and icon should not be |
189 // should not be rendered, and that the client area should be equivalent to | 189 // rendered, and that the client area should be equivalent to the window |
190 // the window area. | 190 // area. Only used on some platforms (Windows and Linux). |
191 bool remove_standard_frame; | 191 bool remove_standard_frame; |
192 // Only used by ShellWindow on Windows. Specifies that the default icon of | 192 // Only used by ShellWindow on Windows. Specifies that the default icon of |
193 // packaged app should be the system default icon. | 193 // packaged app should be the system default icon. |
194 bool use_system_default_icon; | 194 bool use_system_default_icon; |
195 // Whether the widget should be maximized or minimized. | 195 // Whether the widget should be maximized or minimized. |
196 ui::WindowShowState show_state; | 196 ui::WindowShowState show_state; |
197 // Should the widget be double buffered? Default is false. | 197 // Should the widget be double buffered? Default is false. |
198 bool double_buffer; | 198 bool double_buffer; |
199 gfx::NativeView parent; | 199 gfx::NativeView parent; |
200 // Specifies the initial bounds of the Widget. Default is empty, which means | 200 // 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... |
887 // True when window movement via mouse interaction with the frame should be | 887 // True when window movement via mouse interaction with the frame should be |
888 // disabled. | 888 // disabled. |
889 bool movement_disabled_; | 889 bool movement_disabled_; |
890 | 890 |
891 DISALLOW_COPY_AND_ASSIGN(Widget); | 891 DISALLOW_COPY_AND_ASSIGN(Widget); |
892 }; | 892 }; |
893 | 893 |
894 } // namespace views | 894 } // namespace views |
895 | 895 |
896 #endif // UI_VIEWS_WIDGET_WIDGET_H_ | 896 #endif // UI_VIEWS_WIDGET_WIDGET_H_ |
OLD | NEW |