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

Unified Diff: ash/display/unified_mouse_warp_controller_unittest.cc

Issue 2286523002: Relocate reuseable portions of ash/display/display_util.* (Closed)
Patch Set: fixed ozone 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/display/unified_mouse_warp_controller_unittest.cc
diff --git a/ash/display/unified_mouse_warp_controller_unittest.cc b/ash/display/unified_mouse_warp_controller_unittest.cc
index 2f347d2fdfec47dd9427ea2632fc1f1423cb817c..e7e147dfdf82f3c50f91ecba460450632842eb84 100644
--- a/ash/display/unified_mouse_warp_controller_unittest.cc
+++ b/ash/display/unified_mouse_warp_controller_unittest.cc
@@ -15,6 +15,7 @@
#include "ui/aura/env.h"
#include "ui/aura/window_tree_host.h"
#include "ui/display/display.h"
+#include "ui/display/manager/display_manager_utilities.h"
#include "ui/display/screen.h"
#include "ui/events/test/event_generator.h"
#include "ui/wm/core/coordinate_conversion.h"
@@ -91,7 +92,7 @@ class UnifiedMouseWarpControllerTest : public test::AshTestBase {
// Convert screen to the host.
root->GetHost()->ConvertPointToHost(&new_location_in_unified_host);
- int new_index = FindDisplayIndexContainingPoint(
+ int new_index = ui::FindDisplayIndexContainingPoint(
display_manager->software_mirroring_display_list(),
new_location_in_unified_host);
if (new_index < 0)

Powered by Google App Engine
This is Rietveld 408576698