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

Unified Diff: ui/events/test/motion_event_test_utils.h

Issue 999423003: Set the unique_event_id when converting from TouchEvent to WebTouchEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/test/motion_event_test_utils.h
diff --git a/ui/events/test/motion_event_test_utils.h b/ui/events/test/motion_event_test_utils.h
index 4010bc465ef7d34dae74fb77521f0c0f44aba745..41fcc5a3efeadb3bb703377d448c35ce15c85572 100644
--- a/ui/events/test/motion_event_test_utils.h
+++ b/ui/events/test/motion_event_test_utils.h
@@ -51,6 +51,7 @@ struct MockMotionEvent : public MotionEventGeneric {
void SetTouchMajor(float new_touch_major);
void SetRawOffset(float raw_offset_x, float raw_offset_y);
void SetToolType(size_t index, ToolType tool_type);
+ void SetPointerId(int id);
jdduke (slow) 2015/04/17 20:30:01 Shouldn't this be |SetPointerId(size_t index, int
lanwei 2015/04/20 19:58:59 Done.
private:
void PushPointer(float x, float y);

Powered by Google App Engine
This is Rietveld 408576698