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

Unified Diff: ui/events/ozone/evdev/event_converter_evdev_impl_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
« no previous file with comments | « ui/events/ozone/evdev/event_converter_evdev_impl.cc ('k') | ui/events/ozone/evdev/event_factory_evdev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc
diff --git a/ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc b/ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc
index b7162bc4a87e75fea23a17ab41d68bb275bb835a..94375831a41a0247dfd53e894154e713bab21f25 100644
--- a/ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc
+++ b/ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc
@@ -62,7 +62,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.
@@ -449,7 +449,7 @@ TEST_F(EventConverterEvdevImplTest, MouseMove) {
event = dispatched_mouse_event(0);
EXPECT_EQ(ui::ET_MOUSE_MOVED, event->type());
- EXPECT_EQ(cursor()->location(), gfx::PointF(4, 2));
+ EXPECT_EQ(cursor()->GetLocation(), gfx::PointF(4, 2));
}
TEST_F(EventConverterEvdevImplTest, UnmappedKeyPress) {
« no previous file with comments | « ui/events/ozone/evdev/event_converter_evdev_impl.cc ('k') | ui/events/ozone/evdev/event_factory_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698