Chromium Code Reviews| Index: ash/wm/property_util.h |
| diff --git a/ash/wm/property_util.h b/ash/wm/property_util.h |
| index 97d7b24b4cac6f16b0e5e867f407ec34e29b82bf..81f8fedae7cfe372619e8547d35f0a303c43b34b 100644 |
| --- a/ash/wm/property_util.h |
| +++ b/ash/wm/property_util.h |
| @@ -62,6 +62,20 @@ ASH_EXPORT void SetWindowAlwaysRestoresToRestoreBounds(aura::Window* window, |
| ASH_EXPORT bool GetWindowAlwaysRestoresToRestoreBounds( |
| const aura::Window* window); |
| +// Enum for possible edges that a window is docked on to the dock |
| +enum DockEdge { |
|
sky
2013/06/11 00:03:13
Again, Docked would be better here.
varkha
2013/06/11 02:34:24
Done.
|
| + DOCK_EDGE_NONE, |
| + DOCK_EDGE_LEFT, |
| + DOCK_EDGE_RIGHT, |
| +}; |
| + |
| +// Sets whether the specified window is docked near a screen edge. |
| +// Default is DOCK_EDGE_NONE and may change when a window is moved by user or |
| +// when the launcher shelf alignment is changed. |
| +ASH_EXPORT void SetDockEdge(aura::Window* window, DockEdge value); |
| +ASH_EXPORT DockEdge GetDockEdge(const aura::Window* window); |
| +bool IsWindowDocked(const aura::Window* window); |
| + |
| // Sets whether the specified window is tracked by workspace code. Default is |
| // true. If set to false the workspace does not switch the current workspace, |
| // nor does it attempt to impose constraints on the bounds of the window. This |