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