| 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 ui::WindowShowState for restoring a window. | 80 // A property key to store ui::WindowShowState for restoring a window from |
| 81 // minimized show state. |
| 81 // Used in Ash to remember the show state before the window was minimized. | 82 // Used in Ash to remember the show state before the window was minimized. |
| 82 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const | 83 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
| 83 kRestoreShowStateKey; | 84 kPreMinimizedShowStateKey; |
| 85 |
| 86 // A property key to store ui::WindowShowState for restoring a window from |
| 87 // fullscreen show state. |
| 88 // Used in Ash to remember the show state before the window was fullscreen. |
| 89 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
| 90 kPreFullscreenShowStateKey; |
| 84 | 91 |
| 85 // A property key to store ui::WindowShowState for a window. | 92 // A property key to store ui::WindowShowState for a window. |
| 86 // See ui/base/ui_base_types.h for its definition. | 93 // See ui/base/ui_base_types.h for its definition. |
| 87 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const | 94 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
| 88 kShowStateKey; | 95 kShowStateKey; |
| 89 | 96 |
| 90 // A property key to store the title of the window; sometimes shown to users. | 97 // A property key to store the title of the window; sometimes shown to users. |
| 91 AURA_EXPORT extern const WindowProperty<base::string16*>* const kTitleKey; | 98 AURA_EXPORT extern const WindowProperty<base::string16*>* const kTitleKey; |
| 92 | 99 |
| 93 // The inset of the topmost view in the client view from the top of the | 100 // The inset of the topmost view in the client view from the top of the |
| (...skipping 10 matching lines...) Expand all Loading... |
| 104 | 111 |
| 105 AURA_EXPORT extern const aura::WindowProperty<ui::mojom::WindowType>* const | 112 AURA_EXPORT extern const aura::WindowProperty<ui::mojom::WindowType>* const |
| 106 kWindowTypeKey; | 113 kWindowTypeKey; |
| 107 | 114 |
| 108 // Alphabetical sort. | 115 // Alphabetical sort. |
| 109 | 116 |
| 110 } // namespace client | 117 } // namespace client |
| 111 } // namespace aura | 118 } // namespace aura |
| 112 | 119 |
| 113 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 120 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
| OLD | NEW |