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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 // A property key to store the preferred size of the window. | 69 // A property key to store the preferred size of the window. |
70 AURA_EXPORT extern const WindowProperty<gfx::Size*>* const kPreferredSize; | 70 AURA_EXPORT extern const WindowProperty<gfx::Size*>* const kPreferredSize; |
71 | 71 |
72 // A property key to store the resize behavior, which is a bitmask of the | 72 // A property key to store the resize behavior, which is a bitmask of the |
73 // ui::mojom::kResizeBehavior values. | 73 // ui::mojom::kResizeBehavior values. |
74 AURA_EXPORT extern const WindowProperty<int32_t>* const kResizeBehaviorKey; | 74 AURA_EXPORT extern const WindowProperty<int32_t>* const kResizeBehaviorKey; |
75 | 75 |
76 // A property key to store the restore bounds for a window. | 76 // A property key to store the restore bounds for a window. |
77 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; | 77 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; |
78 | 78 |
| 79 // A property key to store the restore bounds for a window when moved by the |
| 80 // virtual keyboard. |
| 81 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const |
| 82 kVirtualKeyboardRestoreBoundsKey; |
| 83 |
79 // A property key to store ui::WindowShowState for restoring a window. | 84 // A property key to store ui::WindowShowState for restoring a window. |
80 // Used in Ash to remember the show state before the window was minimized. | 85 // Used in Ash to remember the show state before the window was minimized. |
81 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const | 86 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
82 kRestoreShowStateKey; | 87 kRestoreShowStateKey; |
83 | 88 |
84 // A property key to store ui::WindowShowState for a window. | 89 // A property key to store ui::WindowShowState for a window. |
85 // See ui/base/ui_base_types.h for its definition. | 90 // See ui/base/ui_base_types.h for its definition. |
86 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const | 91 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
87 kShowStateKey; | 92 kShowStateKey; |
88 | 93 |
(...skipping 14 matching lines...) Expand all Loading... |
103 | 108 |
104 AURA_EXPORT extern const aura::WindowProperty<ui::mojom::WindowType>* const | 109 AURA_EXPORT extern const aura::WindowProperty<ui::mojom::WindowType>* const |
105 kWindowTypeKey; | 110 kWindowTypeKey; |
106 | 111 |
107 // Alphabetical sort. | 112 // Alphabetical sort. |
108 | 113 |
109 } // namespace client | 114 } // namespace client |
110 } // namespace aura | 115 } // namespace aura |
111 | 116 |
112 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 117 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
OLD | NEW |