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_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 #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 |
| 13 // Alphabetical sort. |
| 14 |
| 15 // A property key to store the activation delegate for a window. The type of the |
| 16 // value is |aura::ActivationDelegate*|. |
| 17 AURA_EXPORT extern const char kActivationDelegateKey[]; |
13 | 18 |
14 // A property key to store always-on-top flag. The type of the value is boolean. | 19 // A property key to store always-on-top flag. The type of the value is boolean. |
15 AURA_EXPORT extern const char kAlwaysOnTopKey[]; | 20 AURA_EXPORT extern const char kAlwaysOnTopKey[]; |
16 | 21 |
| 22 // A property key to store the drag and drop delegate for a window. The type of |
| 23 // the value is |aura::WindowDragDropDelegate*|. |
| 24 AURA_EXPORT extern const char kDragDropDelegateKey[]; |
| 25 |
| 26 // A property key to store the boolean property of window modality. |
| 27 AURA_EXPORT extern const char kModalKey[]; |
| 28 |
17 // A property key to store the restore bounds for a window. The type | 29 // A property key to store the restore bounds for a window. The type |
18 // of the value is |gfx::Rect*|. | 30 // of the value is |gfx::Rect*|. |
19 AURA_EXPORT extern const char kRestoreBoundsKey[]; | 31 AURA_EXPORT extern const char kRestoreBoundsKey[]; |
20 | 32 |
| 33 // A property key to store the drag and drop client for the root window. The |
| 34 // type of the value is |aura::DragDropClient*|. |
| 35 AURA_EXPORT extern const char kRootWindowDragDropClientKey[]; |
| 36 |
| 37 // A property key to store the tooltip client for the root window. The type of |
| 38 // the value is |aura::TooltipClient*|. |
| 39 AURA_EXPORT extern const char kRootWindowTooltipClientKey[]; |
| 40 |
| 41 // A property key to store what the client defines as the active window on the |
| 42 // RootWindow. The type of the value is |aura::Window*|. |
| 43 AURA_EXPORT extern const char kRootWindowActiveWindow[]; |
| 44 |
| 45 // A property key to store a client that handles window activation. The type of |
| 46 // the value is |aura::ActivationClient*|. |
| 47 AURA_EXPORT extern const char kRootWindowActivationClient[]; |
| 48 |
| 49 // A property key for a value from aura::ShadowType describing the drop shadow |
| 50 // that should be displayed under the window. If unset, no shadow is displayed. |
| 51 AURA_EXPORT extern const char kShadowTypeKey[]; |
| 52 |
21 // A property key to store ui::WindowShowState for a window. | 53 // A property key to store ui::WindowShowState for a window. |
22 // See ui/base/ui_base_types.h for its definition. | 54 // See ui/base/ui_base_types.h for its definition. |
23 AURA_EXPORT extern const char kShowStateKey[]; | 55 AURA_EXPORT extern const char kShowStateKey[]; |
24 | 56 |
25 // A property key to store tooltip text for a window. The type of the value | 57 // A property key to store tooltip text for a window. The type of the value |
26 // is |string16*|. | 58 // is |string16*|. |
27 AURA_EXPORT extern const char kTooltipTextKey[]; | 59 AURA_EXPORT extern const char kTooltipTextKey[]; |
28 | 60 |
29 // A property key to store the boolean property of window modality. | 61 // Alphabetical sort. |
30 AURA_EXPORT extern const char kModalKey[]; | |
31 | 62 |
32 // A property key for a value from aura::ShadowType describing the drop shadow | |
33 // that should be displayed under the window. If unset, no shadow is displayed. | |
34 AURA_EXPORT extern const char kShadowTypeKey[]; | |
35 | |
36 // A property key to store the drag and drop client for the root window. The | |
37 // type of the value is |aura::DragDropClient*|. | |
38 AURA_EXPORT extern const char kRootWindowDragDropClientKey[]; | |
39 | |
40 // A property key to store the drag and drop delegate for a window. The type of | |
41 // the value is |aura::WindowDragDropDelegate*|. | |
42 AURA_EXPORT extern const char kDragDropDelegateKey[]; | |
43 | |
44 // A property key to store the tooltip client for the root window. The type of | |
45 // the value is |aura::TooltipClient*|. | |
46 AURA_EXPORT extern const char kRootWindowTooltipClientKey[]; | |
47 } // namespace aura | 63 } // namespace aura |
48 | 64 |
49 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 65 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
OLD | NEW |