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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 // A property key to store the host window of a window. This lets | 79 // A property key to store the host window of a window. This lets |
80 // WebContentsViews find the windows that should constrain NPAPI plugins. | 80 // WebContentsViews find the windows that should constrain NPAPI plugins. |
81 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey; | 81 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey; |
82 | 82 |
83 // A property key to indicate that a window should be in immersive mode when the | 83 // A property key to indicate that a window should be in immersive mode when the |
84 // window enters the fullscreen mode. The immersive fullscreen mode is slightly | 84 // window enters the fullscreen mode. The immersive fullscreen mode is slightly |
85 // different from the normal fullscreen mode by allowing the user to reveal the | 85 // different from the normal fullscreen mode by allowing the user to reveal the |
86 // top portion of the window through a touch / mouse gesture. | 86 // top portion of the window through a touch / mouse gesture. |
87 AURA_EXPORT extern const WindowProperty<bool>* const kImmersiveFullscreenKey; | 87 AURA_EXPORT extern const WindowProperty<bool>* const kImmersiveFullscreenKey; |
88 | 88 |
| 89 // A property key to store the minimum size of the window. |
| 90 AURA_EXPORT extern const WindowProperty<gfx::Size*>* const kMinimumSize; |
| 91 |
89 // A property key to indicate that a window is being "mirrored" and its contents | 92 // A property key to indicate that a window is being "mirrored" and its contents |
90 // should render regardless of its actual visibility state. | 93 // should render regardless of its actual visibility state. |
91 AURA_EXPORT extern const WindowProperty<bool>* const kMirroringEnabledKey; | 94 AURA_EXPORT extern const WindowProperty<bool>* const kMirroringEnabledKey; |
92 | 95 |
93 // A property key to store the window modality. | 96 // A property key to store the window modality. |
94 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey; | 97 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey; |
95 | 98 |
96 // A property key to store the name of the window; mostly used for debugging. | 99 // A property key to store the name of the window; mostly used for debugging. |
97 AURA_EXPORT extern const WindowProperty<std::string*>* const kNameKey; | 100 AURA_EXPORT extern const WindowProperty<std::string*>* const kNameKey; |
98 | 101 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 | 146 |
144 AURA_EXPORT extern const WindowProperty<ui::mojom::WindowType>* const | 147 AURA_EXPORT extern const WindowProperty<ui::mojom::WindowType>* const |
145 kWindowTypeKey; | 148 kWindowTypeKey; |
146 | 149 |
147 // Alphabetical sort. | 150 // Alphabetical sort. |
148 | 151 |
149 } // namespace client | 152 } // namespace client |
150 } // namespace aura | 153 } // namespace aura |
151 | 154 |
152 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 155 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
OLD | NEW |