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.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.h')
-rw-r--r-- | ash/shell.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ash/shell.h b/ash/shell.h index ad24bc5..d25998e 100644 --- a/ash/shell.h +++ b/ash/shell.h @@ -31,7 +31,6 @@ class FocusManager; class RootWindow; class Window; namespace client { -class StackingClient; class UserActionClient; } } @@ -100,6 +99,7 @@ class RootWindowLayoutManager; class ScreenPositionController; class ShadowController; class SlowAnimationEventFilter; +class StackingController; class StatusAreaWidget; class SystemGestureEventFilter; class SystemModalContainerEventFilter; @@ -410,8 +410,6 @@ class ASH_EXPORT Shell : internal::SystemModalContainerEventFilterDelegate, } #endif // defined(OS_CHROMEOS) - aura::client::StackingClient* stacking_client(); - private: FRIEND_TEST_ALL_PREFIXES(ExtendedDesktopTest, TestCursor); FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, MouseEventCursors); @@ -470,7 +468,7 @@ class ASH_EXPORT Shell : internal::SystemModalContainerEventFilterDelegate, scoped_ptr<internal::AppListController> app_list_controller_; - scoped_ptr<aura::client::StackingClient> stacking_client_; + scoped_ptr<internal::StackingController> stacking_controller_; scoped_ptr<internal::ActivationController> activation_controller_; scoped_ptr<internal::CaptureController> capture_controller_; scoped_ptr<internal::WindowModalityController> window_modality_controller_; |