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_AURA_CONSTANTS_H_ | 5 #ifndef UI_AURA_AURA_CONSTANTS_H_ |
6 #define UI_AURA_AURA_CONSTANTS_H_ | 6 #define UI_AURA_AURA_CONSTANTS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "ui/aura/aura_export.h" | 9 #include "ui/aura/aura_export.h" |
10 | 10 |
11 namespace aura { | 11 namespace aura { |
12 // Window property keys that are shared between aura_shell and chrome/views. | 12 // Window property keys that are shared between aura_shell and chrome/views. |
13 | 13 |
| 14 // A property key to store always-on-top flag. The type of the value is boolean. |
| 15 AURA_EXPORT extern const char kAlwaysOnTopKey[]; |
| 16 |
14 // A property key to store the restore bounds for a window. The type | 17 // A property key to store the restore bounds for a window. The type |
15 // of the value is |gfx::Rect*|. | 18 // of the value is |gfx::Rect*|. |
16 AURA_EXPORT extern const char* kRestoreBoundsKey; | 19 AURA_EXPORT extern const char kRestoreBoundsKey[]; |
17 | 20 |
18 // A property key to store ui::WindowShowState for a window. | 21 // A property key to store ui::WindowShowState for a window. |
19 // See ui/base/ui_base_types.h for its definition. | 22 // See ui/base/ui_base_types.h for its definition. |
20 AURA_EXPORT extern const char* kShowStateKey; | 23 AURA_EXPORT extern const char kShowStateKey[]; |
21 | 24 |
22 // A property key to store tooltip text for a window. The type of the value | 25 // A property key to store tooltip text for a window. The type of the value |
23 // is |std::string*|. | 26 // is |string16*|. |
24 AURA_EXPORT extern const char* kTooltipTextKey; | 27 AURA_EXPORT extern const char kTooltipTextKey[]; |
25 | 28 |
26 } // namespace aura | 29 } // namespace aura |
27 | 30 |
28 #endif // UI_AURA_AURA_CONSTANTS_H_ | 31 #endif // UI_AURA_AURA_CONSTANTS_H_ |
OLD | NEW |