Chromium Code Reviews| Index: ash/public/cpp/window_properties.h |
| diff --git a/ash/public/cpp/window_properties.h b/ash/public/cpp/window_properties.h |
| index 7187ae70f1b10da93b84e297a0ee059be56f1aa3..1fe8d775e77355a767b061317d28c26ed45a3f3a 100644 |
| --- a/ash/public/cpp/window_properties.h |
| +++ b/ash/public/cpp/window_properties.h |
| @@ -9,6 +9,7 @@ |
| #include "ash/public/cpp/ash_public_export.h" |
| #include "ash/public/cpp/shelf_types.h" |
| +#include "ash/public/interfaces/window_pin_type.mojom.h" |
|
sky
2017/04/04 17:04:56
forward declare enum?
Peng
2017/04/04 17:38:00
Done.
|
| #include "ui/base/class_property.h" |
| namespace aura { |
| @@ -30,6 +31,14 @@ ASH_PUBLIC_EXPORT extern const aura::WindowProperty<bool>* const |
| ASH_PUBLIC_EXPORT extern const aura::WindowProperty<int32_t>* const |
| kShelfItemTypeKey; |
| +// A property key to store ash::WindowPinType for a window. |
| +// When setting this property to PINNED or TRUSTED_PINNED, the window manager |
| +// will try to fullscreen the window and pin it on the top of the screen. If the |
| +// window manager failed to do it, the property will be restored to NONE. When |
| +// setting this property to NONE, the window manager will restore the window. |
| +ASH_PUBLIC_EXPORT extern const aura::WindowProperty< |
| + ash::mojom::WindowPinType>* const kWindowPinTypeKey; |
| + |
| // Alphabetical sort. |
| } // namespace ash |