| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 | 85 |
| 86 // A property key to store the preferred size of the window. | 86 // A property key to store the preferred size of the window. |
| 87 AURA_EXPORT extern const WindowProperty<gfx::Size*>* const kPreferredSize; | 87 AURA_EXPORT extern const WindowProperty<gfx::Size*>* const kPreferredSize; |
| 88 | 88 |
| 89 // A property key to store ui::WindowShowState for restoring a window from | 89 // A property key to store ui::WindowShowState for restoring a window from |
| 90 // minimized show state. | 90 // minimized show state. |
| 91 // Used in Ash to remember the show state before the window was minimized. | 91 // Used in Ash to remember the show state before the window was minimized. |
| 92 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const | 92 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
| 93 kPreMinimizedShowStateKey; | 93 kPreMinimizedShowStateKey; |
| 94 | 94 |
| 95 // A property key to store the restore bounds for a window when moved by the |
| 96 // virtual keyboard. |
| 97 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const |
| 98 kVirtualKeyboardRestoreBoundsKey; |
| 99 |
| 95 // A property key to store ui::WindowShowState for restoring a window from | 100 // A property key to store ui::WindowShowState for restoring a window from |
| 96 // fullscreen show state. | 101 // fullscreen show state. |
| 97 // Used in Ash to remember the show state before the window was fullscreen. | 102 // Used in Ash to remember the show state before the window was fullscreen. |
| 98 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const | 103 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
| 99 kPreFullscreenShowStateKey; | 104 kPreFullscreenShowStateKey; |
| 100 | 105 |
| 101 // A property key to store the resize behavior, which is a bitmask of the | 106 // A property key to store the resize behavior, which is a bitmask of the |
| 102 // ui::mojom::kResizeBehavior values. | 107 // ui::mojom::kResizeBehavior values. |
| 103 AURA_EXPORT extern const WindowProperty<int32_t>* const kResizeBehaviorKey; | 108 AURA_EXPORT extern const WindowProperty<int32_t>* const kResizeBehaviorKey; |
| 104 | 109 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 131 | 136 |
| 132 AURA_EXPORT extern const aura::WindowProperty<ui::mojom::WindowType>* const | 137 AURA_EXPORT extern const aura::WindowProperty<ui::mojom::WindowType>* const |
| 133 kWindowTypeKey; | 138 kWindowTypeKey; |
| 134 | 139 |
| 135 // Alphabetical sort. | 140 // Alphabetical sort. |
| 136 | 141 |
| 137 } // namespace client | 142 } // namespace client |
| 138 } // namespace aura | 143 } // namespace aura |
| 139 | 144 |
| 140 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 145 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
| OLD | NEW |