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

Unified Diff: ash/touch/touch_transformer_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/touch/touch_observer_hud_unittest.cc ('k') | ash/touch/touchscreen_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/touch/touch_transformer_controller.cc
diff --git a/ash/touch/touch_transformer_controller.cc b/ash/touch/touch_transformer_controller.cc
index 935a178d29b224aff1784d39494a400525d7a154..a6e5ae42e7fc5e5cadc15417be88ba21f8479b26 100644
--- a/ash/touch/touch_transformer_controller.cc
+++ b/ash/touch/touch_transformer_controller.cc
@@ -4,7 +4,6 @@
#include "ash/touch/touch_transformer_controller.h"
-#include "ash/display/display_manager.h"
#include "ash/display/window_tree_host_manager.h"
#include "ash/host/ash_window_tree_host.h"
#include "ash/root_window_controller.h"
@@ -12,6 +11,7 @@
#include "ui/aura/window_tree_host.h"
#include "ui/display/chromeos/display_configurator.h"
#include "ui/display/manager/display_layout.h"
+#include "ui/display/manager/display_manager.h"
#include "ui/display/types/display_snapshot.h"
#include "ui/events/devices/device_data_manager.h"
@@ -19,7 +19,7 @@ namespace ash {
namespace {
-DisplayManager* GetDisplayManager() {
+display::DisplayManager* GetDisplayManager() {
return Shell::GetInstance()->display_manager();
}
@@ -164,7 +164,7 @@ void TouchTransformerController::UpdateTouchTransformer() const {
WindowTreeHostManager* window_tree_host_manager =
Shell::GetInstance()->window_tree_host_manager();
- DisplayManager* display_manager = GetDisplayManager();
+ display::DisplayManager* display_manager = GetDisplayManager();
if (display_manager->num_connected_displays() == 0) {
return;
} else if (display_manager->num_connected_displays() == 1 ||
« no previous file with comments | « ash/touch/touch_observer_hud_unittest.cc ('k') | ash/touch/touchscreen_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698