| 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 | 12 // Window property keys that are shared between aura_shell and chrome/views. |
| 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[]; | |
| 18 | 13 |
| 19 // A property key to store always-on-top flag. The type of the value is boolean. | 14 // A property key to store always-on-top flag. The type of the value is boolean. |
| 20 AURA_EXPORT extern const char kAlwaysOnTopKey[]; | 15 AURA_EXPORT extern const char kAlwaysOnTopKey[]; |
| 21 | 16 |
| 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 | |
| 29 // 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 |
| 30 // of the value is |gfx::Rect*|. | 18 // of the value is |gfx::Rect*|. |
| 31 AURA_EXPORT extern const char kRestoreBoundsKey[]; | 19 AURA_EXPORT extern const char kRestoreBoundsKey[]; |
| 32 | 20 |
| 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 | |
| 53 // A property key to store ui::WindowShowState for a window. | 21 // A property key to store ui::WindowShowState for a window. |
| 54 // See ui/base/ui_base_types.h for its definition. | 22 // See ui/base/ui_base_types.h for its definition. |
| 55 AURA_EXPORT extern const char kShowStateKey[]; | 23 AURA_EXPORT extern const char kShowStateKey[]; |
| 56 | 24 |
| 57 // 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 |
| 58 // is |string16*|. | 26 // is |string16*|. |
| 59 AURA_EXPORT extern const char kTooltipTextKey[]; | 27 AURA_EXPORT extern const char kTooltipTextKey[]; |
| 60 | 28 |
| 61 // Alphabetical sort. | 29 // A property key to store the boolean property of window modality. |
| 30 AURA_EXPORT extern const char kModalKey[]; |
| 62 | 31 |
| 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[]; |
| 63 } // namespace aura | 47 } // namespace aura |
| 64 | 48 |
| 65 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 49 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
| OLD | NEW |