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

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

Issue 348813002: Extend MotionEvent to have tool type and button state (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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
Index: ui/events/gestures/motion_event_aura.cc
diff --git a/ui/events/gestures/motion_event_aura.cc b/ui/events/gestures/motion_event_aura.cc
index 2bf4e9b3ce70005b1a0cb67a13f29dbe72d48bb9..bfb061fd18d93cdfd62375b744c6e1f4f5f59e0e 100644
--- a/ui/events/gestures/motion_event_aura.cc
+++ b/ui/events/gestures/motion_event_aura.cc
@@ -156,6 +156,16 @@ float MotionEventAura::GetHistoricalY(size_t pointer_index,
return 0;
}
+MotionEvent::ToolType MotionEventAura::GetToolType(size_t pointer_index) const {
+ NOTIMPLEMENTED();
+ return 0;
jdduke (slow) 2014/06/20 15:33:25 Maybe return TOOL_TYPE_UNKNOWN?
Changwan Ryu 2014/06/20 21:00:34 Done.
+}
+
+int MotionEventAura::GetButtonState() const {
+ NOTIMPLEMENTED();
+ return 0;
+}
+
scoped_ptr<MotionEvent> MotionEventAura::Clone() const {
return scoped_ptr<MotionEvent>(new MotionEventAura(pointer_count_,
last_touch_time_,
« ui/events/gestures/motion_event_aura.h ('K') | « ui/events/gestures/motion_event_aura.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698