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

Unified Diff: ui/aura_shell/desktop_window.cc

Issue 8194004: change the way windows are parented when their parent is set to NULL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 months 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
Index: ui/aura_shell/desktop_window.cc
===================================================================
--- ui/aura_shell/desktop_window.cc (revision 104542)
+++ ui/aura_shell/desktop_window.cc (working copy)
@@ -21,13 +21,11 @@
internal::kShellWindowId_DesktopBackgroundContainer);
containers->push_back(background_container);
- aura::Window* default_container = new aura::internal::ToplevelWindowContainer;
+ aura::Window* default_container = new aura::ToplevelWindowContainer;
default_container->set_id(internal::kShellWindowId_DefaultContainer);
- aura::Desktop::GetInstance()->set_default_parent(default_container);
containers->push_back(default_container);
- aura::Window* always_on_top_container =
- new aura::internal::ToplevelWindowContainer;
+ aura::Window* always_on_top_container = new aura::ToplevelWindowContainer;
always_on_top_container->set_id(
internal::kShellWindowId_AlwaysOnTopContainer);
containers->push_back(always_on_top_container);

Powered by Google App Engine
This is Rietveld 408576698