Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(482)

Unified Diff: ui/aura_shell/shell.cc

Issue 8916020: Second attempt at moving the StackingClient to a property on the RootWindow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura_shell/shell.h ('k') | ui/aura_shell/stacking_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/shell.cc
===================================================================
--- ui/aura_shell/shell.cc (revision 114527)
+++ ui/aura_shell/shell.cc (working copy)
@@ -124,8 +124,6 @@
delegate_(delegate) {
aura::RootWindow::GetInstance()->SetEventFilter(
new internal::RootWindowEventFilter);
- aura::RootWindow::GetInstance()->SetStackingClient(
- new internal::StackingController);
}
Shell::~Shell() {
@@ -196,10 +194,7 @@
(*i)->Show();
}
- internal::StackingController* stacking_controller =
- static_cast<internal::StackingController*>(
- root_window->stacking_client());
- stacking_controller->Init();
+ stacking_controller_.reset(new internal::StackingController);
InitLayoutManagers(root_window);
« no previous file with comments | « ui/aura_shell/shell.h ('k') | ui/aura_shell/stacking_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698