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 | 10 |
11 // This file is obsolete. Please do not add any new types. | 11 enum WindowType { |
12 // This still exists as Window::Init uses Type_Control. | 12 WINDOW_TYPE_UNKNOWN = 0, |
13 // TODO(ben|oshima): Figure out how to clean this up. | |
14 | 13 |
15 const int kWindowType_None = 0; | 14 // Regular windows that should be laid out by the shell. |
16 const int kWindowType_Control = 1; | 15 WINDOW_TYPE_NORMAL, |
Daniel Erat
2011/10/28 22:17:20
Naming suggestions welcome for all of these. I'm
| |
17 | 16 |
18 const int kWindowType_Max = 2; | 17 // Miscellaneous windows that should not be laid out by the shell. |
18 WINDOW_TYPE_POPUP, | |
19 | |
20 WINDOW_TYPE_MENU, | |
21 WINDOW_TYPE_TOOLTIP, | |
22 }; | |
19 | 23 |
20 } // namespace aura | 24 } // namespace aura |
21 | 25 |
22 #endif // UI_AURA_WINDOW_TYPES_H_ | 26 #endif // UI_AURA_WINDOW_TYPES_H_ |
OLD | NEW |