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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 // aura::Window. Default is LAYER_TEXTURED. | 218 // aura::Window. Default is LAYER_TEXTURED. |
219 ui::LayerType layer_type; | 219 ui::LayerType layer_type; |
220 // Only used by Aura. Provides a context window whose RootWindow is | 220 // Only used by Aura. Provides a context window whose RootWindow is |
221 // consulted during widget creation to determine where in the Window | 221 // consulted during widget creation to determine where in the Window |
222 // hierarchy this widget should be placed. (This is separate from |parent|; | 222 // hierarchy this widget should be placed. (This is separate from |parent|; |
223 // if you pass a RootWindow to |parent|, your window will be parented to | 223 // if you pass a RootWindow to |parent|, your window will be parented to |
224 // |parent|. If you pass a RootWindow to |context|, we ask that RootWindow | 224 // |parent|. If you pass a RootWindow to |context|, we ask that RootWindow |
225 // where it wants your window placed.) NULL is not allowed if you are using | 225 // where it wants your window placed.) NULL is not allowed if you are using |
226 // aura. | 226 // aura. |
227 gfx::NativeView context; | 227 gfx::NativeView context; |
| 228 // If true, forces the window to be shown in the taskbar, even for window |
| 229 // types that do not appear in the taskbar by default (popup and bubble). |
| 230 // Currently only used by X11. |
| 231 // TODO(mgiuca): Respect this flag in Windows (http://crbug.com/332277). |
| 232 bool force_show_in_taskbar; |
228 // Only used by X11, for root level windows. Specifies the res_name and | 233 // Only used by X11, for root level windows. Specifies the res_name and |
229 // res_class fields, respectively, of the WM_CLASS window property. Controls | 234 // res_class fields, respectively, of the WM_CLASS window property. Controls |
230 // window grouping and desktop file matching in Linux window managers. | 235 // window grouping and desktop file matching in Linux window managers. |
231 std::string wm_role_name; | 236 std::string wm_role_name; |
232 std::string wm_class_name; | 237 std::string wm_class_name; |
233 std::string wm_class_class; | 238 std::string wm_class_class; |
234 }; | 239 }; |
235 | 240 |
236 Widget(); | 241 Widget(); |
237 virtual ~Widget(); | 242 virtual ~Widget(); |
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
887 // True when window movement via mouse interaction with the frame should be | 892 // True when window movement via mouse interaction with the frame should be |
888 // disabled. | 893 // disabled. |
889 bool movement_disabled_; | 894 bool movement_disabled_; |
890 | 895 |
891 DISALLOW_COPY_AND_ASSIGN(Widget); | 896 DISALLOW_COPY_AND_ASSIGN(Widget); |
892 }; | 897 }; |
893 | 898 |
894 } // namespace views | 899 } // namespace views |
895 | 900 |
896 #endif // UI_VIEWS_WIDGET_WIDGET_H_ | 901 #endif // UI_VIEWS_WIDGET_WIDGET_H_ |
OLD | NEW |