diff options
author | stevet@chromium.org <stevet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-11 13:24:13 +0000 |
---|---|---|
committer | stevet@chromium.org <stevet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-11 13:24:13 +0000 |
commit | 7d56f819d0d4c20c9448c68c8e251e06e010376e (patch) | |
tree | 8765b1a12525c75b1e085105493c6db9509e6d74 /ash/wm/property_util.h | |
parent | e92742011debdfab91e2622816aa5f91ff777177 (diff) | |
download | chromium_src-7d56f819d0d4c20c9448c68c8e251e06e010376e.zip chromium_src-7d56f819d0d4c20c9448c68c8e251e06e010376e.tar.gz chromium_src-7d56f819d0d4c20c9448c68c8e251e06e010376e.tar.bz2 |
Revert 222512 "Group WM related properties to ash::wm::WindowSet..."
> Group WM related properties to ash::wm::WindowSettings
> * Introduced Observer to observe changes to the settings.
> * renamed UserHasChangedWindowPositinoOrSize to bounds_channed_by_user
>
> BUG=272460
>
> Review URL: https://chromiumcodereview.appspot.com/23518006
REASON FOR REVERT:
- Causing compiler errors on the tree: Win Aura Builder
http://build.chromium.org/p/chromium.win/buildstatus?builder=Win%20Aura%20Builder&number=11959
TBR=oshima@chromium.org
Review URL: https://codereview.chromium.org/23478025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222522 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/property_util.h')
-rw-r--r-- | ash/wm/property_util.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ash/wm/property_util.h b/ash/wm/property_util.h index 6a0d89a..365a373e 100644 --- a/ash/wm/property_util.h +++ b/ash/wm/property_util.h @@ -37,6 +37,11 @@ ASH_EXPORT gfx::Rect GetRestoreBoundsInParent(aura::Window* window); // Deletes and clears the restore bounds property on |window|. ASH_EXPORT void ClearRestoreBounds(aura::Window* window); +// Sets whether |window| is ignored when determining whether the shelf should +// be darkened when overlapped. +ASH_EXPORT void SetIgnoredByShelf(aura::Window* window, bool value); +ASH_EXPORT bool GetIgnoredByShelf(const aura::Window* window); + // Sets whether |window| should always be restored to the restore bounds // (sometimes the workspace layout manager restores the window to its original // bounds instead of the restore bounds. Setting this key overrides that @@ -46,6 +51,14 @@ ASH_EXPORT void SetWindowAlwaysRestoresToRestoreBounds(aura::Window* window, bool value); ASH_EXPORT bool GetWindowAlwaysRestoresToRestoreBounds( 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 +// is intended for tab dragging. +ASH_EXPORT void SetTrackedByWorkspace(aura::Window* window, bool value); +ASH_EXPORT bool GetTrackedByWorkspace(const aura::Window* window); + } // namespace ash #endif // ASH_WM_PROPERTY_UTIL_H_ |