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

Unified Diff: ash/touch/touch_observer_hud_unittest.cc

Issue 2270553002: Move ash::DisplayInfo to ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 4 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/test/display_manager_test_api.cc ('k') | ash/touch/touch_transformer_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/touch/touch_observer_hud_unittest.cc
diff --git a/ash/touch/touch_observer_hud_unittest.cc b/ash/touch/touch_observer_hud_unittest.cc
index ce53028ce53d26cf6f56f6d084a517f55147ad2e..0ac68754363b69cfdbed68e2f2bbcd59944c3e06 100644
--- a/ash/touch/touch_observer_hud_unittest.cc
+++ b/ash/touch/touch_observer_hud_unittest.cc
@@ -176,8 +176,10 @@ class TouchHudTestBase : public test::AshTestBase {
return GetRootWindowController(root);
}
- DisplayInfo CreateDisplayInfo(int64_t id, const gfx::Rect& bounds) {
- DisplayInfo info(id, base::StringPrintf("x-%" PRId64, id), false);
+ display::ManagedDisplayInfo CreateDisplayInfo(int64_t id,
+ const gfx::Rect& bounds) {
+ display::ManagedDisplayInfo info(id, base::StringPrintf("x-%" PRId64, id),
+ false);
info.SetBounds(bounds);
return info;
}
@@ -193,11 +195,11 @@ class TouchHudTestBase : public test::AshTestBase {
int64_t internal_display_id_;
int64_t external_display_id_;
int64_t mirrored_display_id_;
- DisplayInfo internal_display_info_;
- DisplayInfo external_display_info_;
- DisplayInfo mirrored_display_info_;
+ display::ManagedDisplayInfo internal_display_info_;
+ display::ManagedDisplayInfo external_display_info_;
+ display::ManagedDisplayInfo mirrored_display_info_;
- std::vector<DisplayInfo> display_info_list_;
+ std::vector<display::ManagedDisplayInfo> display_info_list_;
DISALLOW_COPY_AND_ASSIGN(TouchHudTestBase);
};
« no previous file with comments | « ash/test/display_manager_test_api.cc ('k') | ash/touch/touch_transformer_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698