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 "ui/aura/aura_export.h" | 8 #include "ui/aura/aura_export.h" |
9 #include "ui/aura/window.h" | 9 #include "ui/aura/window.h" |
10 #include "ui/base/ui_base_types.h" | 10 #include "ui/base/ui_base_types.h" |
(...skipping 20 matching lines...) Expand all Loading... | |
31 // A property key to store the can-resize flag. | 31 // A property key to store the can-resize flag. |
32 AURA_EXPORT extern const WindowProperty<bool>* const kCanResizeKey; | 32 AURA_EXPORT extern const WindowProperty<bool>* const kCanResizeKey; |
33 | 33 |
34 // A property key to store if a window is a constrained window or not. | 34 // A property key to store if a window is a constrained window or not. |
35 AURA_EXPORT extern const WindowProperty<bool>* const kConstrainedWindowKey; | 35 AURA_EXPORT extern const WindowProperty<bool>* const kConstrainedWindowKey; |
36 | 36 |
37 // A property key to indicate that a window should show that it deserves | 37 // A property key to indicate that a window should show that it deserves |
38 // attention. | 38 // attention. |
39 AURA_EXPORT extern const aura::WindowProperty<bool>* const kDrawAttentionKey; | 39 AURA_EXPORT extern const aura::WindowProperty<bool>* const kDrawAttentionKey; |
40 | 40 |
41 // A property key to store the host window of a window. | |
sky
2014/06/19 15:15:01
This description is too generic, be more specific.
calamity
2014/06/20 07:10:39
Updated.
| |
42 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey; | |
43 | |
41 // A property key to store the window modality. | 44 // A property key to store the window modality. |
42 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey; | 45 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey; |
43 | 46 |
44 // A property key to store the restore bounds for a window. | 47 // A property key to store the restore bounds for a window. |
45 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; | 48 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; |
46 | 49 |
47 // A property key to store ui::WindowShowState for restoring a window. | 50 // A property key to store ui::WindowShowState for restoring a window. |
48 // Used in Ash to remember the show state before the window was minimized. | 51 // Used in Ash to remember the show state before the window was minimized. |
49 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const | 52 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
50 kRestoreShowStateKey; | 53 kRestoreShowStateKey; |
51 | 54 |
52 // A property key to store an input method object that handles a key event. | 55 // A property key to store an input method object that handles a key event. |
53 AURA_EXPORT extern const WindowProperty<ui::InputMethod*>* const | 56 AURA_EXPORT extern const WindowProperty<ui::InputMethod*>* const |
54 kRootWindowInputMethodKey; | 57 kRootWindowInputMethodKey; |
55 | 58 |
56 // A property key to store ui::WindowShowState for a window. | 59 // A property key to store ui::WindowShowState for a window. |
57 // See ui/base/ui_base_types.h for its definition. | 60 // See ui/base/ui_base_types.h for its definition. |
58 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const | 61 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
59 kShowStateKey; | 62 kShowStateKey; |
60 | 63 |
61 // Alphabetical sort. | 64 // Alphabetical sort. |
62 | 65 |
63 } // namespace client | 66 } // namespace client |
64 } // namespace aura | 67 } // namespace aura |
65 | 68 |
66 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 69 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
OLD | NEW |