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

Unified Diff: ash/test/ui_controls_factory_ash.cc

Issue 1608053002: Remove now-unnecessary wrappers around gfx::Screen::GetScreen() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-5
Patch Set: cros Created 4 years, 11 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/test/ash_test_base.cc ('k') | ash/touch/touch_observer_hud.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/ui_controls_factory_ash.cc
diff --git a/ash/test/ui_controls_factory_ash.cc b/ash/test/ui_controls_factory_ash.cc
index 26f8c245b0b4644670361dc61ba57dcc00318177..2ac98c85af60ead2ff62b0c4fc6f6cb701d284b0 100644
--- a/ash/test/ui_controls_factory_ash.cc
+++ b/ash/test/ui_controls_factory_ash.cc
@@ -97,7 +97,7 @@ class UIControlsAsh : public UIControlsAura {
}
bool SendMouseEvents(MouseButton type, int state) override {
- gfx::Point p(ash::Shell::GetScreen()->GetCursorScreenPoint());
+ gfx::Point p(gfx::Screen::GetScreen()->GetCursorScreenPoint());
UIControlsAura* ui_controls = GetUIControlsAt(p);
return ui_controls && ui_controls->SendMouseEvents(type, state);
}
@@ -112,7 +112,7 @@ class UIControlsAsh : public UIControlsAura {
}
bool SendMouseClick(MouseButton type) override {
- gfx::Point p(ash::Shell::GetScreen()->GetCursorScreenPoint());
+ gfx::Point p(gfx::Screen::GetScreen()->GetCursorScreenPoint());
UIControlsAura* ui_controls = GetUIControlsAt(p);
return ui_controls && ui_controls->SendMouseClick(type);
}
« no previous file with comments | « ash/test/ash_test_base.cc ('k') | ash/touch/touch_observer_hud.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698