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 18 matching lines...) Expand all Loading... | |
29 TOP_LEVEL_IN_WM, | 29 TOP_LEVEL_IN_WM, |
30 }; | 30 }; |
31 | 31 |
32 // Alphabetical sort. | 32 // Alphabetical sort. |
33 | 33 |
34 // A property key to store whether accessibility focus falls back to widget or | 34 // A property key to store whether accessibility focus falls back to widget or |
35 // not. | 35 // not. |
36 AURA_EXPORT extern const WindowProperty<bool>* const | 36 AURA_EXPORT extern const WindowProperty<bool>* const |
37 kAccessibilityFocusFallsbackToWidgetKey; | 37 kAccessibilityFocusFallsbackToWidgetKey; |
38 | 38 |
39 // A property key to store whether activation on mouse click is enabled or not. | |
40 AURA_EXPORT extern const WindowProperty<bool>* const kActivateOnClickKey; | |
sky
2017/04/12 19:49:16
I prefer the property here. That way clients don't
Qiang(Joe) Xu
2017/04/12 23:00:41
Done.
| |
41 | |
39 // A property key to store always-on-top flag. | 42 // A property key to store always-on-top flag. |
40 AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey; | 43 AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey; |
41 | 44 |
42 // A property key to store whether animations are disabled for the window. Type | 45 // A property key to store whether animations are disabled for the window. Type |
43 // of value is an int. | 46 // of value is an int. |
44 AURA_EXPORT extern const WindowProperty<bool>* const kAnimationsDisabledKey; | 47 AURA_EXPORT extern const WindowProperty<bool>* const kAnimationsDisabledKey; |
45 | 48 |
46 // A property key to store the app icon, typically larger for shelf icons, etc. | 49 // A property key to store the app icon, typically larger for shelf icons, etc. |
47 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kAppIconKey; | 50 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kAppIconKey; |
48 | 51 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
133 | 136 |
134 AURA_EXPORT extern const WindowProperty<ui::mojom::WindowType>* const | 137 AURA_EXPORT extern const WindowProperty<ui::mojom::WindowType>* const |
135 kWindowTypeKey; | 138 kWindowTypeKey; |
136 | 139 |
137 // Alphabetical sort. | 140 // Alphabetical sort. |
138 | 141 |
139 } // namespace client | 142 } // namespace client |
140 } // namespace aura | 143 } // namespace aura |
141 | 144 |
142 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 145 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
OLD | NEW |