diff options
author | skuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-09 17:58:25 +0000 |
---|---|---|
committer | skuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-09 17:58:25 +0000 |
commit | 6344760afdb784d456ae77cb366b06962c4069c5 (patch) | |
tree | 1eb596a4c7f6898e29572d623b967b882f50d262 /ash/wm/workspace_controller.h | |
parent | 74e50c0cc9c4f0ba3301ae678c0939e3628b8e7b (diff) | |
download | chromium_src-6344760afdb784d456ae77cb366b06962c4069c5.zip chromium_src-6344760afdb784d456ae77cb366b06962c4069c5.tar.gz chromium_src-6344760afdb784d456ae77cb366b06962c4069c5.tar.bz2 |
Adding a gray semi transparent backdrop behind the topmost window within the default container
This is part of the "always maximized" feature. Windows which cannot be maximized - or cannot be made to cover the entire screen should have a backdrop behind them which covers the desktop.
Tried various ways to implement this and this seems to be the best solution.
BUG=337567, 337563
Review URL: https://codereview.chromium.org/169643005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255863 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/workspace_controller.h')
-rw-r--r-- | ash/wm/workspace_controller.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ash/wm/workspace_controller.h b/ash/wm/workspace_controller.h index 84df41c..175ebe7 100644 --- a/ash/wm/workspace_controller.h +++ b/ash/wm/workspace_controller.h @@ -21,6 +21,7 @@ class ShelfLayoutManager; class WorkspaceControllerTestHelper; class WorkspaceEventHandler; class WorkspaceLayoutManager; +class WorkspaceLayoutManagerDelegate; // WorkspaceController acts as a central place that ties together all the // various workspace pieces. @@ -37,6 +38,11 @@ class ASH_EXPORT WorkspaceController { // Starts the animation that occurs on first login. void DoInitialAnimation(); + // Add a delegate which adds a backdrop behind the top window of the default + // workspace. + void SetMaximizeBackdropDelegate( + scoped_ptr<WorkspaceLayoutManagerDelegate> delegate); + private: friend class WorkspaceControllerTestHelper; |