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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 | 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). | 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; | 230 bool force_show_in_taskbar; |
sky
2014/01/08 15:11:50
I don't see force_show_in_taskbar in InitParams. W
Matt Giuca
2014/01/08 22:53:51
About 2 hours after this comment :) (SVN 243585)
| |
233 // Only used by X11, for root level windows. Specifies the res_name and | 231 // Only used by X11, for root level windows. Specifies the res_name and |
234 // res_class fields, respectively, of the WM_CLASS window property. Controls | 232 // res_class fields, respectively, of the WM_CLASS window property. Controls |
235 // window grouping and desktop file matching in Linux window managers. | 233 // window grouping and desktop file matching in Linux window managers. |
236 std::string wm_role_name; | 234 std::string wm_role_name; |
237 std::string wm_class_name; | 235 std::string wm_class_name; |
238 std::string wm_class_class; | 236 std::string wm_class_class; |
239 }; | 237 }; |
240 | 238 |
241 Widget(); | 239 Widget(); |
242 virtual ~Widget(); | 240 virtual ~Widget(); |
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
892 // True when window movement via mouse interaction with the frame should be | 890 // True when window movement via mouse interaction with the frame should be |
893 // disabled. | 891 // disabled. |
894 bool movement_disabled_; | 892 bool movement_disabled_; |
895 | 893 |
896 DISALLOW_COPY_AND_ASSIGN(Widget); | 894 DISALLOW_COPY_AND_ASSIGN(Widget); |
897 }; | 895 }; |
898 | 896 |
899 } // namespace views | 897 } // namespace views |
900 | 898 |
901 #endif // UI_VIEWS_WIDGET_WIDGET_H_ | 899 #endif // UI_VIEWS_WIDGET_WIDGET_H_ |
OLD | NEW |