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_CLIENT_AURA_CONSTANTS_H_ | 5 #ifndef UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
6 #define UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 6 #define UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
7 | 7 |
8 #include "third_party/skia/include/core/SkColor.h" | 8 #include "third_party/skia/include/core/SkColor.h" |
9 #include "ui/aura/aura_export.h" | 9 #include "ui/aura/aura_export.h" |
10 #include "ui/aura/window.h" | 10 #include "ui/aura/window.h" |
11 #include "ui/base/ui_base_types.h" | 11 #include "ui/base/ui_base_types.h" |
12 | 12 |
13 namespace ui { | 13 namespace ui { |
14 class InputMethod; | 14 class InputMethod; |
15 } | 15 } |
16 | 16 |
17 namespace aura { | 17 namespace aura { |
18 namespace client { | 18 namespace client { |
19 | 19 |
20 // Alphabetical sort. | 20 // Alphabetical sort. |
21 | 21 |
22 // A property key to store always-on-top flag. | 22 // A property key to store always-on-top flag. |
23 AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey; | 23 AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey; |
24 | 24 |
25 // A property key to store whether animations are disabled for the window. Type | 25 // A property key to store whether animations are disabled for the window. Type |
26 // of value is an int. | 26 // of value is an int. |
27 AURA_EXPORT extern const WindowProperty<bool>* const kAnimationsDisabledKey; | 27 AURA_EXPORT extern const WindowProperty<bool>* const kAnimationsDisabledKey; |
28 | 28 |
| 29 // A property key to store the type of window that will be used to record |
| 30 // pointer metrics. See AppType in ash/shared/app_types.h for more details. |
| 31 AURA_EXPORT extern const WindowProperty<int>* const kAppType; |
| 32 |
29 // A property key to store the can-maximize flag. | 33 // A property key to store the can-maximize flag. |
30 AURA_EXPORT extern const WindowProperty<bool>* const kCanMaximizeKey; | 34 AURA_EXPORT extern const WindowProperty<bool>* const kCanMaximizeKey; |
31 | 35 |
32 // A property key to store the can-minimize flag. | 36 // A property key to store the can-minimize flag. |
33 AURA_EXPORT extern const WindowProperty<bool>* const kCanMinimizeKey; | 37 AURA_EXPORT extern const WindowProperty<bool>* const kCanMinimizeKey; |
34 | 38 |
35 // A property key to store the can-resize flag. | 39 // A property key to store the can-resize flag. |
36 AURA_EXPORT extern const WindowProperty<bool>* const kCanResizeKey; | 40 AURA_EXPORT extern const WindowProperty<bool>* const kCanResizeKey; |
37 | 41 |
38 // A property key to store if a window is a constrained window or not. | 42 // A property key to store if a window is a constrained window or not. |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 | 85 |
82 // A property key to store window icon. | 86 // A property key to store window icon. |
83 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kWindowIconKey; | 87 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kWindowIconKey; |
84 | 88 |
85 // Alphabetical sort. | 89 // Alphabetical sort. |
86 | 90 |
87 } // namespace client | 91 } // namespace client |
88 } // namespace aura | 92 } // namespace aura |
89 | 93 |
90 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 94 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
OLD | NEW |