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

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: build 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
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..1002413b1cf567c264586a210100ca4bf542e3de 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);
+ ui::ManagedDisplayInfo CreateDisplayInfo(int64_t id,
+ const gfx::Rect& bounds) {
+ ui::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_;
+ ui::ManagedDisplayInfo internal_display_info_;
+ ui::ManagedDisplayInfo external_display_info_;
+ ui::ManagedDisplayInfo mirrored_display_info_;
- std::vector<DisplayInfo> display_info_list_;
+ std::vector<ui::ManagedDisplayInfo> display_info_list_;
DISALLOW_COPY_AND_ASSIGN(TouchHudTestBase);
};

Powered by Google App Engine
This is Rietveld 408576698