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_AURA_WINDOW_TYPES_H_ | 5 #ifndef UI_WM_PUBLIC_WINDOW_TYPES_H_ |
6 #define UI_AURA_WINDOW_TYPES_H_ | 6 #define UI_WM_PUBLIC_WINDOW_TYPES_H_ |
7 | 7 |
8 namespace aura { | 8 namespace ui { |
9 namespace client { | 9 namespace wm { |
10 | 10 |
11 // This isn't a property because it can't change after the window has been | 11 // This isn't a property because it can't change after the window has been |
12 // initialized. It's in client because the Aura Client application derives | 12 // initialized. |
13 // meaning from these values, not Aura itself. | |
14 enum WindowType { | 13 enum WindowType { |
15 WINDOW_TYPE_UNKNOWN = 0, | 14 WINDOW_TYPE_UNKNOWN = 0, |
16 | 15 |
17 // Regular windows that should be laid out by the client. | 16 // Regular windows that should be laid out by the client. |
18 WINDOW_TYPE_NORMAL, | 17 WINDOW_TYPE_NORMAL, |
19 | 18 |
20 // Miscellaneous windows that should not be laid out by the shell. | 19 // Miscellaneous windows that should not be laid out by the shell. |
21 WINDOW_TYPE_POPUP, | 20 WINDOW_TYPE_POPUP, |
22 | 21 |
23 // A window intended as a control. Not laid out by the shell. | 22 // A window intended as a control. Not laid out by the shell. |
24 WINDOW_TYPE_CONTROL, | 23 WINDOW_TYPE_CONTROL, |
25 | 24 |
26 // Always on top windows aligned to bottom right of screen. | 25 // Always on top windows aligned to bottom right of screen. |
27 WINDOW_TYPE_PANEL, | 26 WINDOW_TYPE_PANEL, |
28 | 27 |
29 WINDOW_TYPE_MENU, | 28 WINDOW_TYPE_MENU, |
| 29 |
30 WINDOW_TYPE_TOOLTIP, | 30 WINDOW_TYPE_TOOLTIP, |
31 }; | 31 }; |
32 | 32 |
33 } // namespace client | 33 } // namespace wm |
34 } // namespace aura | 34 } // namespace ui |
35 | 35 |
36 #endif // UI_AURA_WINDOW_TYPES_H_ | 36 #endif // UI_WM_PUBLIC_WINDOW_TYPES_H_ |
OLD | NEW |