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

Unified Diff: ash/root_window_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/root_window_controller.cc ('k') | ash/root_window_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller_unittest.cc
diff --git a/ash/root_window_controller_unittest.cc b/ash/root_window_controller_unittest.cc
index 49ba6fe1b3333fff8670779940b0f939fa99de53..8ef2324cdfa98bbb891ac43b3c8b403d4033b859 100644
--- a/ash/root_window_controller_unittest.cc
+++ b/ash/root_window_controller_unittest.cc
@@ -820,19 +820,22 @@ TEST_F(VirtualKeyboardRootWindowControllerTest, RestoreWorkspaceAfterLogin) {
root_window->bounds(), 100));
keyboard_window->Show();
- gfx::Rect before = gfx::Screen::GetScreen()->GetPrimaryDisplay().work_area();
+ gfx::Rect before =
+ display::Screen::GetScreen()->GetPrimaryDisplay().work_area();
// Notify keyboard bounds changing.
controller->NotifyKeyboardBoundsChanging(keyboard_container->bounds());
if (!keyboard::IsKeyboardOverscrollEnabled()) {
- gfx::Rect after = gfx::Screen::GetScreen()->GetPrimaryDisplay().work_area();
+ gfx::Rect after =
+ display::Screen::GetScreen()->GetPrimaryDisplay().work_area();
EXPECT_LT(after, before);
}
// Mock a login user profile change to reinitialize the keyboard.
ash::Shell::GetInstance()->OnLoginUserProfilePrepared();
- EXPECT_EQ(gfx::Screen::GetScreen()->GetPrimaryDisplay().work_area(), before);
+ EXPECT_EQ(display::Screen::GetScreen()->GetPrimaryDisplay().work_area(),
+ before);
}
// Ensure that system modal dialogs do not block events targeted at the virtual
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/root_window_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698