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

Unified Diff: ui/events/ozone/chromeos/cursor_controller_unittest.cc

Issue 1922783002: Move gfx::Display/Screen to display::Display/Screen in aura/events (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
Index: ui/events/ozone/chromeos/cursor_controller_unittest.cc
diff --git a/ui/events/ozone/chromeos/cursor_controller_unittest.cc b/ui/events/ozone/chromeos/cursor_controller_unittest.cc
index 2d96a7af194fb9cc668a1fafbb54d3d213b42b76..460bc55b5d6a60eaed48453b599c94e8a4e4d19d 100644
--- a/ui/events/ozone/chromeos/cursor_controller_unittest.cc
+++ b/ui/events/ozone/chromeos/cursor_controller_unittest.cc
@@ -41,8 +41,8 @@ TEST_F(CursorControllerTest, ClearedIdentity) {
ui::CursorController* cursor_controller = CursorController::GetInstance();
// Check that configured & cleared windows use identity.
- cursor_controller->SetCursorConfigForWindow(kTestWindow,
- gfx::Display::ROTATE_180, 3.2f);
+ cursor_controller->SetCursorConfigForWindow(
+ kTestWindow, display::Display::ROTATE_180, 3.2f);
cursor_controller->ClearCursorConfigForWindow(kTestWindow);
gfx::Vector2dF delta(3.f, 5.f);
cursor_controller->ApplyCursorConfigForWindow(kTestWindow, &delta);
@@ -55,7 +55,7 @@ TEST_F(CursorControllerTest, RotatedHighDpi) {
// Check that 90deg rotated highdpi window transforms correctly.
cursor_controller->SetCursorConfigForWindow(kTestWindow,
- gfx::Display::ROTATE_90, 2.f);
+ display::Display::ROTATE_90, 2.f);
gfx::Vector2dF delta(3.f, 5.f);
cursor_controller->ApplyCursorConfigForWindow(kTestWindow, &delta);
EXPECT_FLOAT_EQ(-10.f, delta.x());

Powered by Google App Engine
This is Rietveld 408576698