diff options
author | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-12 22:56:25 +0000 |
---|---|---|
committer | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-12 22:56:25 +0000 |
commit | 04925978d28ec771c89fb9fab52b89e592d68f20 (patch) | |
tree | 5c287ae2a6243ea108f12aaeb1b675a17dd14183 /ash/shell_delegate.h | |
parent | b400c9082d1efdd734a92d906f2a0c9d80f70aa8 (diff) | |
download | chromium_src-04925978d28ec771c89fb9fab52b89e592d68f20.zip chromium_src-04925978d28ec771c89fb9fab52b89e592d68f20.tar.gz chromium_src-04925978d28ec771c89fb9fab52b89e592d68f20.tar.bz2 |
Revert 167245 - Currently, the ash and desktop implementations of StackingClient stomp each other in aura::Env. Instead:
- Don't have StackingClient implementations install themselves by default
- Add chrome implementation of StackingClient that dispatches to ash or desktop
- Pass extra |context| to GetDefaultParent (normally a RootWindow) that it can use to determine desktop type.
- Workaround a few locations by using ScopedForceDesktopType: in these locations, the GetHostDesktopForNative... functions fail because they're used during window creation when the windows have no parent (and so can't determine which desktop they're in).
- Remove window-specific StackingClient (unnecessary?)
BUG=128578
Review URL: https://codereview.chromium.org/11364053
TBR=scottmg@google.com
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167253 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell_delegate.h')
-rw-r--r-- | ash/shell_delegate.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h index 6f3c7f3..5f69459 100644 --- a/ash/shell_delegate.h +++ b/ash/shell_delegate.h @@ -21,7 +21,6 @@ namespace aura { class RootWindow; class Window; namespace client { -class StackingClient; class UserActionClient; } } @@ -182,9 +181,6 @@ class ASH_EXPORT ShellDelegate { // Creates a menu model of the context for the |root_window|. virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root_window) = 0; - - // Creates the stacking client. Shell takes ownership of the object. - virtual aura::client::StackingClient* CreateStackingClient() = 0; }; } // namespace ash |