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

Unified Diff: ash/display/mirror_window_controller_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/display/mirror_window_controller.cc ('k') | ash/display/resolution_notification_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/mirror_window_controller_unittest.cc
diff --git a/ash/display/mirror_window_controller_unittest.cc b/ash/display/mirror_window_controller_unittest.cc
index 1e5996bb38b681963acdd972f62fa464c920026a..d00d0ec3214afc1c76ba881df7192eae2c43853d 100644
--- a/ash/display/mirror_window_controller_unittest.cc
+++ b/ash/display/mirror_window_controller_unittest.cc
@@ -26,8 +26,10 @@
namespace ash {
namespace {
-DisplayInfo CreateDisplayInfo(int64_t id, const gfx::Rect& bounds) {
- DisplayInfo info(id, base::StringPrintf("x-%d", static_cast<int>(id)), false);
+display::ManagedDisplayInfo CreateDisplayInfo(int64_t id,
+ const gfx::Rect& bounds) {
+ display::ManagedDisplayInfo info(
+ id, base::StringPrintf("x-%d", static_cast<int>(id)), false);
info.SetBounds(bounds);
return info;
}
@@ -257,11 +259,11 @@ TEST_F(MirrorWindowControllerTest, MAYBE_DockMode) {
const int64_t internal_id = 1;
const int64_t external_id = 2;
- const DisplayInfo internal_display_info =
+ const display::ManagedDisplayInfo internal_display_info =
CreateDisplayInfo(internal_id, gfx::Rect(0, 0, 500, 500));
- const DisplayInfo external_display_info =
+ const display::ManagedDisplayInfo external_display_info =
CreateDisplayInfo(external_id, gfx::Rect(1, 1, 100, 100));
- std::vector<DisplayInfo> display_info_list;
+ std::vector<display::ManagedDisplayInfo> display_info_list;
display_manager->SetMultiDisplayMode(DisplayManager::MIRRORING);
« no previous file with comments | « ash/display/mirror_window_controller.cc ('k') | ash/display/resolution_notification_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698