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

Unified Diff: ash/display/unified_mouse_warp_controller_unittest.cc

Issue 1924703002: Rename gfx::Display/Screen to display::Display/Screen in ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « ash/display/unified_mouse_warp_controller.cc ('k') | ash/display/window_tree_host_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8be611030ff71452d85c23e2e691debf8590ae3b..fe48dc5132e42fbc50ad107a649b4a7b12549c6b 100644
--- a/ash/display/unified_mouse_warp_controller_unittest.cc
+++ b/ash/display/unified_mouse_warp_controller_unittest.cc
@@ -14,9 +14,9 @@
#include "ash/test/display_manager_test_api.h"
#include "ui/aura/env.h"
#include "ui/aura/window_tree_host.h"
+#include "ui/display/display.h"
+#include "ui/display/screen.h"
#include "ui/events/test/event_generator.h"
-#include "ui/gfx/display.h"
-#include "ui/gfx/screen.h"
#include "ui/wm/core/coordinate_conversion.h"
namespace ash {
@@ -184,7 +184,7 @@ TEST_F(UnifiedMouseWarpControllerTest, WarpMouse) {
if (!SupportsMultipleDisplays())
return;
UpdateDisplay("500x500,600+0-500x500");
- ASSERT_EQ(1, gfx::Screen::GetScreen()->GetNumDisplays());
+ ASSERT_EQ(1, display::Screen::GetScreen()->GetNumDisplays());
EXPECT_FALSE(TestIfMouseWarpsAt(gfx::Point(10, 10)));
// Touch the right edge of the first display. Pointer should warp.
@@ -203,7 +203,7 @@ TEST_F(UnifiedMouseWarpControllerTest, WarpMouse) {
// With 2X and 1X displays
UpdateDisplay("500x500*2,600+0-500x500");
- ASSERT_EQ(1, gfx::Screen::GetScreen()->GetNumDisplays());
+ ASSERT_EQ(1, display::Screen::GetScreen()->GetNumDisplays());
EXPECT_FALSE(TestIfMouseWarpsAt(gfx::Point(10, 10)));
// Touch the right edge of the first display. Pointer should warp.
@@ -223,7 +223,7 @@ TEST_F(UnifiedMouseWarpControllerTest, WarpMouse) {
// With 1X and 2X displays
UpdateDisplay("500x500,600+0-500x500*2");
- ASSERT_EQ(1, gfx::Screen::GetScreen()->GetNumDisplays());
+ ASSERT_EQ(1, display::Screen::GetScreen()->GetNumDisplays());
EXPECT_FALSE(TestIfMouseWarpsAt(gfx::Point(10, 10)));
// Touch the right edge of the first display. Pointer should warp.
@@ -242,7 +242,7 @@ TEST_F(UnifiedMouseWarpControllerTest, WarpMouse) {
// With two 2X displays
UpdateDisplay("500x500*2,600+0-500x500*2");
- ASSERT_EQ(1, gfx::Screen::GetScreen()->GetNumDisplays());
+ ASSERT_EQ(1, display::Screen::GetScreen()->GetNumDisplays());
EXPECT_FALSE(TestIfMouseWarpsAt(gfx::Point(10, 10)));
// Touch the right edge of the first display. Pointer should warp.
« no previous file with comments | « ash/display/unified_mouse_warp_controller.cc ('k') | ash/display/window_tree_host_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698