Chromium Code Reviews| 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 27 matching lines...) Expand all Loading... | |
| 38 // A property key to store the window modality. | 38 // A property key to store the window modality. |
| 39 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey; | 39 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey; |
| 40 | 40 |
| 41 // A property key to store the restore bounds for a window. | 41 // A property key to store the restore bounds for a window. |
| 42 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; | 42 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; |
| 43 | 43 |
| 44 // 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. |
| 45 AURA_EXPORT extern const WindowProperty<ui::InputMethod*>* const | 45 AURA_EXPORT extern const WindowProperty<ui::InputMethod*>* const |
| 46 kRootWindowInputMethodKey; | 46 kRootWindowInputMethodKey; |
| 47 | 47 |
| 48 // A property key to remember if a windows position or size was changed by a | |
| 49 // user. | |
| 50 AURA_EXPORT extern const WindowProperty<bool>* const | |
|
sky
2012/10/11 19:50:54
These should be in ash.
Mr4D (OOO till 08-26)
2012/10/12 00:29:18
Done.
| |
| 51 kUserChangedWindowPositionOrSizeKey; | |
| 52 | |
| 53 // A property key to remember if a windows position can be managed by the | |
| 54 // workspace manager or not. | |
| 55 AURA_EXPORT extern const WindowProperty<bool>* const | |
| 56 kWindowPositionManageableKey; | |
| 57 | |
| 48 // A property key to store ui::WindowShowState for a window. | 58 // A property key to store ui::WindowShowState for a window. |
| 49 // See ui/base/ui_base_types.h for its definition. | 59 // See ui/base/ui_base_types.h for its definition. |
| 50 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const | 60 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
| 51 kShowStateKey; | 61 kShowStateKey; |
| 52 | 62 |
| 53 // Alphabetical sort. | 63 // Alphabetical sort. |
| 54 | 64 |
| 55 } // namespace client | 65 } // namespace client |
| 56 } // namespace aura | 66 } // namespace aura |
| 57 | 67 |
| 58 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 68 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
| OLD | NEW |