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

Unified Diff: ash/test/ui_controls_factory_ash.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/test/display_manager_test_api.cc ('k') | ash/touch/touch_hud_debug.h » ('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 af690d08e43ff2c3a92cbcc3a741c8618786058d..66562bfeb14eff123ff3efc82c0723b66f3970a2 100644
--- a/ash/test/ui_controls_factory_ash.cc
+++ b/ash/test/ui_controls_factory_ash.cc
@@ -15,7 +15,7 @@
#include "ui/aura/window_tree_host.h"
#include "ui/base/test/ui_controls.h"
#include "ui/base/test/ui_controls_aura.h"
-#include "ui/gfx/screen.h"
+#include "ui/display/screen.h"
DECLARE_WINDOW_PROPERTY_TYPE(ui_controls::UIControlsAura*)
@@ -99,7 +99,7 @@ class UIControlsAsh : public UIControlsAura {
}
bool SendMouseEvents(MouseButton type, int state) override {
- gfx::Point p(gfx::Screen::GetScreen()->GetCursorScreenPoint());
+ gfx::Point p(display::Screen::GetScreen()->GetCursorScreenPoint());
UIControlsAura* ui_controls = GetUIControlsAt(p);
return ui_controls && ui_controls->SendMouseEvents(type, state);
}
@@ -114,7 +114,7 @@ class UIControlsAsh : public UIControlsAura {
}
bool SendMouseClick(MouseButton type) override {
- gfx::Point p(gfx::Screen::GetScreen()->GetCursorScreenPoint());
+ gfx::Point p(display::Screen::GetScreen()->GetCursorScreenPoint());
UIControlsAura* ui_controls = GetUIControlsAt(p);
return ui_controls && ui_controls->SendMouseClick(type);
}
« no previous file with comments | « ash/test/display_manager_test_api.cc ('k') | ash/touch/touch_hud_debug.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698