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

Unified Diff: ash/display/mirror_window_controller.cc

Issue 121773003: Makes Window::Init take a WindowLayerType instead of LayerType. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge to master Created 6 years, 11 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/screen_position_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/mirror_window_controller.cc
diff --git a/ash/display/mirror_window_controller.cc b/ash/display/mirror_window_controller.cc
index 9a16898c70100f94f213e11ada6b9c588b817f5a..429666460d42445c510c2ebb1023774e64694ba0 100644
--- a/ash/display/mirror_window_controller.cc
+++ b/ash/display/mirror_window_controller.cc
@@ -188,7 +188,7 @@ void MirrorWindowController::UpdateWindow(const DisplayInfo& display_info) {
// TODO(oshima): Start mirroring.
aura::Window* mirror_window = new aura::Window(NULL);
- mirror_window->Init(ui::LAYER_TEXTURED);
+ mirror_window->Init(aura::WINDOW_LAYER_TEXTURED);
root_window_->window()->AddChild(mirror_window);
mirror_window->SetBounds(root_window_->window()->bounds());
mirror_window->Show();
@@ -198,7 +198,7 @@ void MirrorWindowController::UpdateWindow(const DisplayInfo& display_info) {
cursor_window_ = new aura::Window(cursor_window_delegate_.get());
cursor_window_->SetTransparent(true);
- cursor_window_->Init(ui::LAYER_TEXTURED);
+ cursor_window_->Init(aura::WINDOW_LAYER_TEXTURED);
root_window_->window()->AddChild(cursor_window_);
cursor_window_->Show();
} else {
« no previous file with comments | « no previous file | ash/display/screen_position_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698