summaryrefslogtreecommitdiffstats
path: root/ash/wm/property_util.h
diff options
context:
space:
mode:
authormukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-28 07:29:03 +0000
committermukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-28 07:29:03 +0000
commit0f6f6a4bb39c2c32eb83daddecba381db2c3de0d (patch)
tree078f26fe8450e34cef50ae563aa1def8ccac178d /ash/wm/property_util.h
parent0ff79a90a4550f0f67bd80fa9bbc5bac88d57942 (diff)
downloadchromium_src-0f6f6a4bb39c2c32eb83daddecba381db2c3de0d.zip
chromium_src-0f6f6a4bb39c2c32eb83daddecba381db2c3de0d.tar.gz
chromium_src-0f6f6a4bb39c2c32eb83daddecba381db2c3de0d.tar.bz2
Removes PERSIST_ACROSS_ALL_WORKSPACES property.
This was added to persist a window (like task manager or v2 app) across all workspaces like maximized / fullscreen. However, now all of those windows are in the same desktop workspace, the role of this property is over. We still keeps multiple workspace code and switching code, that's (still unclear but probably) used in multi-profile in the future. In that situation we do not have a window which should persist across the workspaces. This CL also removes a test case because the test scenario doesn't make sense if PERSIST_ACROSS_ALL_WORKSPACES property doesn't exist. BUG=264396 R=sky@chromium.org, jamescook@chromium.org TEST=old tests still succeed Review URL: https://chromiumcodereview.appspot.com/20221002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214082 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/property_util.h')
-rw-r--r--ash/wm/property_util.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/ash/wm/property_util.h b/ash/wm/property_util.h
index 97d7b24b..adb983d 100644
--- a/ash/wm/property_util.h
+++ b/ash/wm/property_util.h
@@ -41,12 +41,6 @@ ASH_EXPORT gfx::Rect GetRestoreBoundsInParent(aura::Window* window);
// Deletes and clears the restore bounds property on |window|.
ASH_EXPORT void ClearRestoreBounds(aura::Window* window);
-enum WindowPersistsAcrossAllWorkspacesType {
- WINDOW_PERSISTS_ACROSS_ALL_WORKSPACES_VALUE_DEFAULT,
- WINDOW_PERSISTS_ACROSS_ALL_WORKSPACES_VALUE_NO,
- WINDOW_PERSISTS_ACROSS_ALL_WORKSPACES_VALUE_YES,
-};
-
// Sets whether |window| is ignored when determining whether the shelf should
// be darkened when overlapped.
ASH_EXPORT void SetIgnoredByShelf(aura::Window* window, bool value);
@@ -69,13 +63,6 @@ ASH_EXPORT bool GetWindowAlwaysRestoresToRestoreBounds(
ASH_EXPORT void SetTrackedByWorkspace(aura::Window* window, bool value);
ASH_EXPORT bool GetTrackedByWorkspace(const aura::Window* window);
-// Makes |window| persist across all workspaces. The default is controlled
-// by SetDefaultPersistsAcrossAllWorkspaces().
-ASH_EXPORT void SetPersistsAcrossAllWorkspaces(
- aura::Window* window,
- WindowPersistsAcrossAllWorkspacesType type);
-ASH_EXPORT bool GetPersistsAcrossAllWorkspaces(aura::Window* window);
-
// Sets the default value for whether windows persist across all workspaces.
// The default is false.
ASH_EXPORT void SetDefaultPersistsAcrossAllWorkspaces(bool value);