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

Unified Diff: ash/display/cursor_window_controller.cc

Issue 2445583002: Relocate display_manager from ash to ui (Closed)
Patch Set: fix windows build Created 4 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
« no previous file with comments | « ash/dip_unittest.cc ('k') | ash/display/cursor_window_controller_unittest.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 2e76a9eb5b749ab1c2f174070603136527736749..fbd9e96eecefa282db568e705d51a85c4048b0c7 100644
--- a/ash/display/cursor_window_controller.cc
+++ b/ash/display/cursor_window_controller.cc
@@ -4,7 +4,6 @@
#include "ash/display/cursor_window_controller.h"
-#include "ash/display/display_manager.h"
#include "ash/display/mirror_window_controller.h"
#include "ash/display/window_tree_host_manager.h"
#include "ash/public/cpp/shell_window_ids.h"
@@ -19,6 +18,7 @@
#include "ui/compositor/dip_util.h"
#include "ui/compositor/paint_recorder.h"
#include "ui/display/display.h"
+#include "ui/display/manager/display_manager.h"
#include "ui/display/screen.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/geometry/dip_util.h"
@@ -127,7 +127,7 @@ void CursorWindowController::SetDisplay(const display::Display& display) {
// TODO(oshima): Do not updatethe composition cursor when crossing
// display in unified desktop mode for now. crbug.com/517222.
if (Shell::GetInstance()->display_manager()->IsInUnifiedMode() &&
- display.id() != DisplayManager::kUnifiedDisplayId) {
+ display.id() != display::DisplayManager::kUnifiedDisplayId) {
return;
}
« no previous file with comments | « ash/dip_unittest.cc ('k') | ash/display/cursor_window_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698