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

Unified Diff: ash/root_window_controller.cc

Issue 1050713002: aura: Remove layerless windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: layerless: rebase Created 5 years, 9 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
« no previous file with comments | « ash/drag_drop/drag_drop_tracker.cc ('k') | ash/root_window_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller.cc
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index 1e1c5bdaa20937b8e9146734d587308473a3bf39..83bb10826a9935a79f4215499924aa8a067dd543 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -100,7 +100,7 @@ aura::Window* CreateContainer(int window_id,
aura::Window* container = new aura::Window(NULL);
container->set_id(window_id);
container->SetName(name);
- container->Init(aura::WINDOW_LAYER_NOT_DRAWN);
+ container->Init(ui::LAYER_NOT_DRAWN);
parent->AddChild(container);
if (window_id != kShellWindowId_UnparentedControlContainer)
container->Show();
@@ -763,7 +763,7 @@ void RootWindowController::InitLayoutManagers() {
// This window exists only to be a event target on login screen.
// It does not have to handle events, nor be visible.
mouse_event_target_.reset(new aura::Window(new EmptyWindowDelegate));
- mouse_event_target_->Init(aura::WINDOW_LAYER_NOT_DRAWN);
+ mouse_event_target_->Init(ui::LAYER_NOT_DRAWN);
aura::Window* lock_background_container =
GetContainer(kShellWindowId_LockScreenBackgroundContainer);
« no previous file with comments | « ash/drag_drop/drag_drop_tracker.cc ('k') | ash/root_window_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698