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 bool override_show_in_taskbar; | |
sadrul
2014/01/07 17:20:22
Call this force_show_in_taskbar instead?
You need
Matt Giuca
2014/01/08 00:48:18
Done.
| |
228 // Only used by X11, for root level windows. Specifies the res_name and | 232 // 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 | 233 // res_class fields, respectively, of the WM_CLASS window property. Controls |
230 // window grouping and desktop file matching in Linux window managers. | 234 // window grouping and desktop file matching in Linux window managers. |
231 std::string wm_role_name; | 235 std::string wm_role_name; |
232 std::string wm_class_name; | 236 std::string wm_class_name; |
233 std::string wm_class_class; | 237 std::string wm_class_class; |
234 }; | 238 }; |
235 | 239 |
236 Widget(); | 240 Widget(); |
237 virtual ~Widget(); | 241 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 | 891 // True when window movement via mouse interaction with the frame should be |
888 // disabled. | 892 // disabled. |
889 bool movement_disabled_; | 893 bool movement_disabled_; |
890 | 894 |
891 DISALLOW_COPY_AND_ASSIGN(Widget); | 895 DISALLOW_COPY_AND_ASSIGN(Widget); |
892 }; | 896 }; |
893 | 897 |
894 } // namespace views | 898 } // namespace views |
895 | 899 |
896 #endif // UI_VIEWS_WIDGET_WIDGET_H_ | 900 #endif // UI_VIEWS_WIDGET_WIDGET_H_ |
OLD | NEW |