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

Unified Diff: ash/display/resolution_notification_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/resolution_notification_controller.cc ('k') | ash/display/root_window_transformers.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/resolution_notification_controller_unittest.cc
diff --git a/ash/display/resolution_notification_controller_unittest.cc b/ash/display/resolution_notification_controller_unittest.cc
index 79922fe474395d627817c4be4492d09e8a0b6564..b02f3fea880d3b5cbb3407a9f87ebc709ba1fc77 100644
--- a/ash/display/resolution_notification_controller_unittest.cc
+++ b/ash/display/resolution_notification_controller_unittest.cc
@@ -60,7 +60,7 @@ class ResolutionNotificationControllerTest : public ash::test::AshTestBase {
}
void SetDisplayResolutionAndNotifyWithResolution(
- const gfx::Display& display,
+ const display::Display& display,
const gfx::Size& new_resolution,
const gfx::Size& actual_new_resolution) {
DisplayManager* display_manager = Shell::GetInstance()->display_manager();
@@ -99,7 +99,7 @@ class ResolutionNotificationControllerTest : public ash::test::AshTestBase {
RunAllPendingInMessageLoop();
}
- void SetDisplayResolutionAndNotify(const gfx::Display& display,
+ void SetDisplayResolutionAndNotify(const display::Display& display,
const gfx::Size& new_resolution) {
SetDisplayResolutionAndNotifyWithResolution(
display, new_resolution, new_resolution);
@@ -233,7 +233,8 @@ TEST_F(ResolutionNotificationControllerTest, AcceptButton) {
ash::Shell::GetInstance()->display_manager();
UpdateDisplay("300x300#300x300%59|200x200%60");
- const gfx::Display& display = gfx::Screen::GetScreen()->GetPrimaryDisplay();
+ const display::Display& display =
+ display::Screen::GetScreen()->GetPrimaryDisplay();
SetDisplayResolutionAndNotify(display, gfx::Size(200, 200));
EXPECT_TRUE(IsNotificationVisible());
@@ -298,7 +299,8 @@ TEST_F(ResolutionNotificationControllerTest, Timeout) {
return;
UpdateDisplay("300x300#300x300%59|200x200%60");
- const gfx::Display& display = gfx::Screen::GetScreen()->GetPrimaryDisplay();
+ const display::Display& display =
+ display::Screen::GetScreen()->GetPrimaryDisplay();
SetDisplayResolutionAndNotify(display, gfx::Size(200, 200));
for (int i = 0; i < ResolutionNotificationController::kTimeoutInSec; ++i) {
« no previous file with comments | « ash/display/resolution_notification_controller.cc ('k') | ash/display/root_window_transformers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698