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

Unified Diff: ui/events/ozone/evdev/input_injector_evdev_unittest.cc

Issue 761843003: ozone: dri: Rename DriCursor::location() to GetLocation() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test Created 6 years, 1 month 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
Index: ui/events/ozone/evdev/input_injector_evdev_unittest.cc
diff --git a/ui/events/ozone/evdev/input_injector_evdev_unittest.cc b/ui/events/ozone/evdev/input_injector_evdev_unittest.cc
index c4f0fcfe48879eb11d08bcce047b19ee30478d45..5e939a9755e7b0bf70d4c2af3c99a2448150d279 100644
--- a/ui/events/ozone/evdev/input_injector_evdev_unittest.cc
+++ b/ui/events/ozone/evdev/input_injector_evdev_unittest.cc
@@ -63,7 +63,7 @@ class MockCursorEvdev : public CursorDelegateEvdev {
NOTIMPLEMENTED();
return gfx::Rect();
}
- gfx::PointF location() override { return cursor_location_; }
+ gfx::PointF GetLocation() override { return cursor_location_; }
private:
// The location of the mock cursor.
@@ -173,7 +173,7 @@ TEST_F(InputInjectorEvdevTest, DoubleClick) {
TEST_F(InputInjectorEvdevTest, MouseMoved) {
injector_.MoveCursorTo(gfx::PointF(1, 1));
run_loop_.RunUntilIdle();
- EXPECT_EQ(cursor_.location(), gfx::PointF(1, 1));
+ EXPECT_EQ(cursor_.GetLocation(), gfx::PointF(1, 1));
}
TEST_F(InputInjectorEvdevTest, MouseDragged) {

Powered by Google App Engine
This is Rietveld 408576698