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

Unified Diff: ash/display/cursor_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 | « no previous file | ash/display/mirror_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/cursor_window_controller.cc
diff --git a/ash/display/cursor_window_controller.cc b/ash/display/cursor_window_controller.cc
index 11c2bf1c579b2b41e2d18a792f4e8b3574d66fb2..5f9ebed13eb29b23104332014aca9f0893e70ee3 100644
--- a/ash/display/cursor_window_controller.cc
+++ b/ash/display/cursor_window_controller.cc
@@ -197,7 +197,7 @@ void CursorWindowController::SetContainer(aura::Window* container) {
// Just creates a new one instead. crbug.com/384218.
cursor_window_.reset(new aura::Window(delegate_.get()));
cursor_window_->SetTransparent(true);
- cursor_window_->Init(aura::WINDOW_LAYER_TEXTURED);
+ cursor_window_->Init(ui::LAYER_TEXTURED);
cursor_window_->set_ignore_events(true);
cursor_window_->set_owned_by_parent(false);
// Call UpdateCursorImage() to figure out |cursor_window_|'s desired size.
« no previous file with comments | « no previous file | ash/display/mirror_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698