| 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 indicate that a window should show that it deserves | 31 // A property key to indicate that a window should show that it deserves |
| 29 // attention. | 32 // attention. |
| 30 AURA_EXPORT extern const aura::WindowProperty<bool>* const kDrawAttentionKey; | 33 AURA_EXPORT extern const aura::WindowProperty<bool>* const kDrawAttentionKey; |
| 31 | 34 |
| 32 // A property key to store the window modality. | 35 // A property key to store the window modality. |
| 33 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey; | 36 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey; |
| 34 | 37 |
| 35 // A property key to store the restore bounds for a window. | 38 // A property key to store the restore bounds for a window. |
| 36 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; | 39 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; |
| 37 | 40 |
| 38 // A property key to store an input method object that handles a key event. | 41 // A property key to store an input method object that handles a key event. |
| 39 AURA_EXPORT extern const WindowProperty<ui::InputMethod*>* const | 42 AURA_EXPORT extern const WindowProperty<ui::InputMethod*>* const |
| 40 kRootWindowInputMethodKey; | 43 kRootWindowInputMethodKey; |
| 41 | 44 |
| 42 // A property key to store ui::WindowShowState for a window. | 45 // A property key to store ui::WindowShowState for a window. |
| 43 // See ui/base/ui_base_types.h for its definition. | 46 // See ui/base/ui_base_types.h for its definition. |
| 44 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const | 47 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
| 45 kShowStateKey; | 48 kShowStateKey; |
| 46 | 49 |
| 47 // Alphabetical sort. | 50 // Alphabetical sort. |
| 48 | 51 |
| 49 } // namespace client | 52 } // namespace client |
| 50 } // namespace aura | 53 } // namespace aura |
| 51 | 54 |
| 52 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 55 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
| OLD | NEW |