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

Unified Diff: ui/events/ozone/evdev/event_converter_evdev_impl.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/event_converter_evdev_impl.cc
diff --git a/ui/events/ozone/evdev/event_converter_evdev_impl.cc b/ui/events/ozone/evdev/event_converter_evdev_impl.cc
index dc8e54b53d28affb0a8d9cf7231ab5fd409353c9..870a564115b43b4bf597b75bc111e4e3e486bead 100644
--- a/ui/events/ozone/evdev/event_converter_evdev_impl.cc
+++ b/ui/events/ozone/evdev/event_converter_evdev_impl.cc
@@ -111,8 +111,8 @@ void EventConverterEvdevImpl::DispatchMouseButton(const input_event& input) {
modifiers_->UpdateModifier(modifier, input.value);
callback_.Run(make_scoped_ptr(
new MouseEvent(input.value ? ET_MOUSE_PRESSED : ET_MOUSE_RELEASED,
- cursor_->location(),
- cursor_->location(),
+ cursor_->GetLocation(),
+ cursor_->GetLocation(),
modifiers_->GetModifierFlags() | flag,
flag)));
}
@@ -125,8 +125,8 @@ void EventConverterEvdevImpl::FlushEvents() {
callback_.Run(make_scoped_ptr(
new MouseEvent(ui::ET_MOUSE_MOVED,
- cursor_->location(),
- cursor_->location(),
+ cursor_->GetLocation(),
+ cursor_->GetLocation(),
modifiers_->GetModifierFlags(),
/* changed_button_flags */ 0)));
x_offset_ = 0;
« no previous file with comments | « ui/events/ozone/evdev/cursor_delegate_evdev.h ('k') | ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698