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

Unified Diff: ash/touch/touch_observer_hud_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/touch/touch_observer_hud.cc ('k') | ash/touch/touch_transformer_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/touch/touch_observer_hud_unittest.cc
diff --git a/ash/touch/touch_observer_hud_unittest.cc b/ash/touch/touch_observer_hud_unittest.cc
index 5ff81f0778713757b0f4d908a844e9229e23ae98..d3d2b4e13391e40dcdeb197e0b1c728c10d87f4a 100644
--- a/ash/touch/touch_observer_hud_unittest.cc
+++ b/ash/touch/touch_observer_hud_unittest.cc
@@ -44,11 +44,11 @@ class TouchHudTestBase : public test::AshTestBase {
CreateDisplayInfo(mirrored_display_id_, gfx::Rect(0, 0, 100, 100));
}
- gfx::Display GetPrimaryDisplay() {
- return gfx::Screen::GetScreen()->GetPrimaryDisplay();
+ display::Display GetPrimaryDisplay() {
+ return display::Screen::GetScreen()->GetPrimaryDisplay();
}
- const gfx::Display& GetSecondaryDisplay() {
+ const display::Display& GetSecondaryDisplay() {
return ScreenUtil::GetSecondaryDisplay();
}
@@ -127,11 +127,11 @@ class TouchHudTestBase : public test::AshTestBase {
return Shell::GetInstance()->window_tree_host_manager();
}
- const gfx::Display& GetInternalDisplay() {
+ const display::Display& GetInternalDisplay() {
return GetDisplayManager()->GetDisplayForId(internal_display_id_);
}
- const gfx::Display& GetExternalDisplay() {
+ const display::Display& GetExternalDisplay() {
return GetDisplayManager()->GetDisplayForId(external_display_id_);
}
@@ -146,12 +146,12 @@ class TouchHudTestBase : public test::AshTestBase {
}
aura::Window* GetPrimaryRootWindow() {
- const gfx::Display& display = GetPrimaryDisplay();
+ const display::Display& display = GetPrimaryDisplay();
return GetWindowTreeHostManager()->GetRootWindowForDisplayId(display.id());
}
aura::Window* GetSecondaryRootWindow() {
- const gfx::Display& display = GetSecondaryDisplay();
+ const display::Display& display = GetSecondaryDisplay();
return GetWindowTreeHostManager()->GetRootWindowForDisplayId(display.id());
}
« no previous file with comments | « ash/touch/touch_observer_hud.cc ('k') | ash/touch/touch_transformer_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698