| Index: ash/wm/window_properties.h
|
| diff --git a/ash/wm/window_properties.h b/ash/wm/window_properties.h
|
| index 3ec15c05c9b5d2401fbd09001c6d2428a7cc89ec..e4cf4dbf13bdb7a55b21adc5fb8d1e602c573333 100644
|
| --- a/ash/wm/window_properties.h
|
| +++ b/ash/wm/window_properties.h
|
| @@ -22,6 +22,22 @@ namespace wm {
|
| class WindowState;
|
| } // namespace wm
|
|
|
| +// Used with kWidgetCreationType to indicate source of the widget creation.
|
| +enum class WidgetCreationType {
|
| + // The widget was created internally, and not at the request of a client.
|
| + // For example, overview mode creates a number of widgets. These widgets are
|
| + // created with a type of INTERNAL. This is the default.
|
| + INTERNAL,
|
| +
|
| + // The widget was created for a client. In other words there is a client
|
| + // embedded in the aura::Window. For example, when Chrome creates a new
|
| + // browser window the window manager is asked to create the aura::Window.
|
| + // The window manager creates an aura::Window and a views::Widget to show
|
| + // the non-client frame decorations. In this case the creation type is
|
| + // FOR_CLIENT.
|
| + FOR_CLIENT,
|
| +};
|
| +
|
| // Shell-specific window property keys; some keys are exported for use in tests.
|
|
|
| // Alphabetical sort.
|
| @@ -58,6 +74,9 @@ extern const aura::WindowProperty<bool>* const kSnapChildrenToPixelBoundary;
|
| // Property to tell if the container uses the screen coordinates.
|
| extern const aura::WindowProperty<bool>* const kUsesScreenCoordinatesKey;
|
|
|
| +ASH_EXPORT extern const aura::WindowProperty<WidgetCreationType>* const
|
| + kWidgetCreationTypeKey;
|
| +
|
| // A property key to store WindowState in the window. The window state
|
| // is owned by the window.
|
| extern const aura::WindowProperty<wm::WindowState*>* const kWindowStateKey;
|
|
|