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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 88 | 88 |
| 89 // A property key to store the preferred size of the window. | 89 // A property key to store the preferred size of the window. |
| 90 AURA_EXPORT extern const WindowProperty<gfx::Size*>* const kPreferredSize; | 90 AURA_EXPORT extern const WindowProperty<gfx::Size*>* const kPreferredSize; |
| 91 | 91 |
| 92 // A property key to store ui::WindowShowState for restoring a window from | 92 // A property key to store ui::WindowShowState for restoring a window from |
| 93 // minimized show state. | 93 // minimized show state. |
| 94 // Used in Ash to remember the show state before the window was minimized. | 94 // Used in Ash to remember the show state before the window was minimized. |
| 95 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const | 95 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
| 96 kPreMinimizedShowStateKey; | 96 kPreMinimizedShowStateKey; |
| 97 | 97 |
| 98 // A property key to store the restore bounds for a window when moved by the | |
| 99 // virtual keyboard. | |
| 100 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const | |
| 101 kVirtualKeyboardRestoreBoundsKey; | |
|
oshima
2017/04/11 04:48:50
Can you define this in ui/wm/core/ime_util?
yhanada
2017/04/11 15:26:53
Done.
| |
| 102 | |
| 98 // A property key to store ui::WindowShowState for restoring a window from | 103 // A property key to store ui::WindowShowState for restoring a window from |
| 99 // fullscreen show state. | 104 // fullscreen show state. |
| 100 // Used in Ash to remember the show state before the window was fullscreen. | 105 // Used in Ash to remember the show state before the window was fullscreen. |
| 101 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const | 106 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
| 102 kPreFullscreenShowStateKey; | 107 kPreFullscreenShowStateKey; |
| 103 | 108 |
| 104 // A property key to store the resize behavior, which is a bitmask of the | 109 // A property key to store the resize behavior, which is a bitmask of the |
| 105 // ui::mojom::kResizeBehavior values. | 110 // ui::mojom::kResizeBehavior values. |
| 106 AURA_EXPORT extern const WindowProperty<int32_t>* const kResizeBehaviorKey; | 111 AURA_EXPORT extern const WindowProperty<int32_t>* const kResizeBehaviorKey; |
| 107 | 112 |
| (...skipping 25 matching lines...) Expand all Loading... | |
| 133 | 138 |
| 134 AURA_EXPORT extern const WindowProperty<ui::mojom::WindowType>* const | 139 AURA_EXPORT extern const WindowProperty<ui::mojom::WindowType>* const |
| 135 kWindowTypeKey; | 140 kWindowTypeKey; |
| 136 | 141 |
| 137 // Alphabetical sort. | 142 // Alphabetical sort. |
| 138 | 143 |
| 139 } // namespace client | 144 } // namespace client |
| 140 } // namespace aura | 145 } // namespace aura |
| 141 | 146 |
| 142 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 147 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
| OLD | NEW |