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

Unified Diff: ui/events/gestures/motion_event_aura.h

Issue 510793003: Remove ui::TouchEvent -> blink::WebTouchEvent conversion methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests. Created 6 years 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/gestures/motion_event_aura.h
diff --git a/ui/events/gestures/motion_event_aura.h b/ui/events/gestures/motion_event_aura.h
index 2278b3674267011fc5577211bd136dd5f7e80725..2f05ea861420294f2b6b590b4ee2bf90e330fdb4 100644
--- a/ui/events/gestures/motion_event_aura.h
+++ b/ui/events/gestures/motion_event_aura.h
@@ -25,7 +25,8 @@ class EVENTS_EXPORT MotionEventAura : public MotionEventGeneric {
int GetId() const override;
int GetSourceDeviceId(size_t pointer_index) const override;
- void OnTouch(const TouchEvent& touch);
+ // Returns true if the touch was valid.
+ bool OnTouch(const TouchEvent& touch);
// We can't cleanup removed touch points immediately upon receipt of a
// TouchCancel or TouchRelease, as the MotionEvent needs to be able to report

Powered by Google App Engine
This is Rietveld 408576698