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

Unified Diff: ui/snapshot/snapshot_aura_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
« ui/aura/client/cursor_client.h ('K') | « ui/snapshot/snapshot_android.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/snapshot/snapshot_aura_unittest.cc
diff --git a/ui/snapshot/snapshot_aura_unittest.cc b/ui/snapshot/snapshot_aura_unittest.cc
index feedfaf2dc593c67873337b9062e8521ee44bf83..4dc985fc24073e0fab65b22308baa2cc33e18a72 100644
--- a/ui/snapshot/snapshot_aura_unittest.cc
+++ b/ui/snapshot/snapshot_aura_unittest.cc
@@ -215,7 +215,7 @@ TEST_F(SnapshotAuraTest, PartialBounds) {
}
TEST_F(SnapshotAuraTest, Rotated) {
- test_screen()->SetDisplayRotation(gfx::Display::ROTATE_90);
+ test_screen()->SetDisplayRotation(display::Display::ROTATE_90);
gfx::Rect test_bounds(100, 100, 300, 200);
SetupTestWindow(test_bounds);
@@ -263,7 +263,7 @@ TEST_F(SnapshotAuraTest, DeviceScaleFactor) {
TEST_F(SnapshotAuraTest, RotateAndUIScale) {
const float kUIScale = 1.25f;
test_screen()->SetUIScale(kUIScale);
- test_screen()->SetDisplayRotation(gfx::Display::ROTATE_90);
+ test_screen()->SetDisplayRotation(display::Display::ROTATE_90);
gfx::Rect test_bounds(100, 100, 300, 200);
SetupTestWindow(test_bounds);
@@ -282,7 +282,7 @@ TEST_F(SnapshotAuraTest, RotateAndUIScaleAndScaleFactor) {
test_screen()->SetDeviceScaleFactor(2.0f);
const float kUIScale = 1.25f;
test_screen()->SetUIScale(kUIScale);
- test_screen()->SetDisplayRotation(gfx::Display::ROTATE_90);
+ test_screen()->SetDisplayRotation(display::Display::ROTATE_90);
gfx::Rect test_bounds(20, 30, 150, 100);
SetupTestWindow(test_bounds);
« ui/aura/client/cursor_client.h ('K') | « ui/snapshot/snapshot_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698