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

Unified Diff: ash/display/extended_mouse_warp_controller.cc

Issue 1838833002: Move DisplayLayout and DisplayLayoutBuilder From ash To ui/display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@screenwinmove
Patch Set: Fix comment Created 4 years, 8 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/display/extended_mouse_warp_controller.cc
diff --git a/ash/display/extended_mouse_warp_controller.cc b/ash/display/extended_mouse_warp_controller.cc
index 6e5273f35a035bb822713cf53e544097636934c2..78e8095177a3ab68f539b793701ac66750d43662 100644
--- a/ash/display/extended_mouse_warp_controller.cc
+++ b/ash/display/extended_mouse_warp_controller.cc
@@ -14,6 +14,7 @@
#include "ash/screen_util.h"
#include "ash/shell.h"
#include "ui/aura/window.h"
+#include "ui/display/manager/display_layout.h"
#include "ui/events/event_utils.h"
#include "ui/gfx/screen.h"
#include "ui/wm/core/coordinate_conversion.h"
@@ -103,7 +104,7 @@ ExtendedMouseWarpController::ExtendedMouseWarpController(
Shell::GetInstance()->display_manager();
int64_t drag_source_id = drag_source ? GetDisplayIdFromWindow(drag_source)
: gfx::Display::kInvalidDisplayID;
- DisplayList display_list = display_manager->active_display_list();
+ display::DisplayList display_list = display_manager->active_display_list();
// Try to create a Warp region for all possible two displays combination.
// The following code does it by poping the last element in the list
// and then pairing with remaining displays in the list, until the list
« no previous file with comments | « ash/display/extended_mouse_warp_controller.h ('k') | ash/display/extended_mouse_warp_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698