| 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 | 11 |
| 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 |
| 14 // meaning from these values, not Aura itself. |
| 11 enum WindowType { | 15 enum WindowType { |
| 12 WINDOW_TYPE_UNKNOWN = 0, | 16 WINDOW_TYPE_UNKNOWN = 0, |
| 13 | 17 |
| 14 // Regular windows that should be laid out by the shell. | 18 // Regular windows that should be laid out by the client. |
| 15 WINDOW_TYPE_NORMAL, | 19 WINDOW_TYPE_NORMAL, |
| 16 | 20 |
| 17 // Miscellaneous windows that should not be laid out by the shell. | 21 // Miscellaneous windows that should not be laid out by the client. |
| 18 WINDOW_TYPE_POPUP, | 22 WINDOW_TYPE_POPUP, |
| 19 | 23 |
| 20 WINDOW_TYPE_MENU, | 24 WINDOW_TYPE_MENU, |
| 21 WINDOW_TYPE_TOOLTIP, | 25 WINDOW_TYPE_TOOLTIP, |
| 22 }; | 26 }; |
| 23 | 27 |
| 28 } // namespace client |
| 24 } // namespace aura | 29 } // namespace aura |
| 25 | 30 |
| 26 #endif // UI_AURA_WINDOW_TYPES_H_ | 31 #endif // UI_AURA_WINDOW_TYPES_H_ |
| OLD | NEW |