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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "ui/aura/aura_export.h" | 9 #include "ui/aura/aura_export.h" |
10 #include "ui/aura/window.h" | 10 #include "ui/aura/window.h" |
11 #include "ui/base/ui_base_types.h" | 11 #include "ui/base/ui_base_types.h" |
12 | 12 |
13 namespace ui { | 13 namespace ui { |
14 class InputMethod; | 14 class InputMethod; |
15 } | 15 } |
16 | 16 |
17 namespace aura { | 17 namespace aura { |
18 namespace client { | 18 namespace client { |
19 | 19 |
20 // Alphabetical sort. | 20 // Alphabetical sort. |
21 | 21 |
22 // A property key to store always-on-top flag. | 22 // A property key to store always-on-top flag. |
23 AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey; | 23 AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey; |
24 | 24 |
25 // A property key to store whether animations are disabled for the window. Type | 25 // A property key to store whether animations are disabled for the window. Type |
26 // of value is an int. | 26 // of value is an int. |
27 AURA_EXPORT extern const WindowProperty<bool>* const kAnimationsDisabledKey; | 27 AURA_EXPORT extern const WindowProperty<bool>* const kAnimationsDisabledKey; |
28 | 28 |
| 29 // A property key to indicate that a window should show that it deserves |
| 30 // attention. |
| 31 AURA_EXPORT extern const aura::WindowProperty<bool>* const kDrawAttentionKey; |
| 32 |
29 // A property key to store the window modality. | 33 // A property key to store the window modality. |
30 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey; | 34 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey; |
31 | 35 |
32 // A property key to store the restore bounds for a window. | 36 // A property key to store the restore bounds for a window. |
33 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; | 37 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; |
34 | 38 |
35 // A property key to store an input method object that handles a key event. | 39 // A property key to store an input method object that handles a key event. |
36 AURA_EXPORT extern const WindowProperty<ui::InputMethod*>* const | 40 AURA_EXPORT extern const WindowProperty<ui::InputMethod*>* const |
37 kRootWindowInputMethodKey; | 41 kRootWindowInputMethodKey; |
38 | 42 |
39 // A property key to store ui::WindowShowState for a window. | 43 // A property key to store ui::WindowShowState for a window. |
40 // See ui/base/ui_base_types.h for its definition. | 44 // See ui/base/ui_base_types.h for its definition. |
41 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const | 45 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
42 kShowStateKey; | 46 kShowStateKey; |
43 | 47 |
44 // Alphabetical sort. | 48 // Alphabetical sort. |
45 | 49 |
46 } // namespace client | 50 } // namespace client |
47 } // namespace aura | 51 } // namespace aura |
48 | 52 |
49 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 53 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
OLD | NEW |