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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 // A property key to store always-on-top flag. | 44 // A property key to store always-on-top flag. |
45 AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey; | 45 AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey; |
46 | 46 |
47 // A property key to store whether animations are disabled for the window. Type | 47 // A property key to store whether animations are disabled for the window. Type |
48 // of value is an int. | 48 // of value is an int. |
49 AURA_EXPORT extern const WindowProperty<bool>* const kAnimationsDisabledKey; | 49 AURA_EXPORT extern const WindowProperty<bool>* const kAnimationsDisabledKey; |
50 | 50 |
51 // A property key to store the app icon, typically larger for shelf icons, etc. | 51 // A property key to store the app icon, typically larger for shelf icons, etc. |
52 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kAppIconKey; | 52 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kAppIconKey; |
53 | 53 |
54 // A property key to store the string id of the app associated with this window. | |
55 AURA_EXPORT extern const WindowProperty<std::string*>* const kAppIdKey; | |
56 | |
57 // A property key to store the type of window that will be used to record | 54 // A property key to store the type of window that will be used to record |
58 // pointer metrics. See AppType in ash/shared/app_types.h for more details. | 55 // pointer metrics. See AppType in ash/shared/app_types.h for more details. |
59 AURA_EXPORT extern const WindowProperty<int>* const kAppType; | 56 AURA_EXPORT extern const WindowProperty<int>* const kAppType; |
60 | 57 |
61 // A property key to store if a window is a constrained window or not. | 58 // A property key to store if a window is a constrained window or not. |
62 AURA_EXPORT extern const WindowProperty<bool>* const kConstrainedWindowKey; | 59 AURA_EXPORT extern const WindowProperty<bool>* const kConstrainedWindowKey; |
63 | 60 |
64 // A property key to store if a window was created by a user gesture. | 61 // A property key to store if a window was created by a user gesture. |
65 AURA_EXPORT extern const WindowProperty<bool>* const kCreatedByUserGesture; | 62 AURA_EXPORT extern const WindowProperty<bool>* const kCreatedByUserGesture; |
66 | 63 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 | 135 |
139 AURA_EXPORT extern const WindowProperty<ui::mojom::WindowType>* const | 136 AURA_EXPORT extern const WindowProperty<ui::mojom::WindowType>* const |
140 kWindowTypeKey; | 137 kWindowTypeKey; |
141 | 138 |
142 // Alphabetical sort. | 139 // Alphabetical sort. |
143 | 140 |
144 } // namespace client | 141 } // namespace client |
145 } // namespace aura | 142 } // namespace aura |
146 | 143 |
147 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 144 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
OLD | NEW |