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