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