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