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