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

Unified Diff: third_party/WebKit/public/platform/WebGestureEvent.h

Issue 2925883003: [Touch Adjustment] Pass primary_pointer_type to WebGestureEvent and disable adjustment for stylus (Closed)
Patch Set: dtapuska's comment: Fix layout test instead Created 3 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: third_party/WebKit/public/platform/WebGestureEvent.h
diff --git a/third_party/WebKit/public/platform/WebGestureEvent.h b/third_party/WebKit/public/platform/WebGestureEvent.h
index 4cefc3414fbff56fd901ad0531a5c6027fcf9ee3..470519363506d64ee253020b5905566deeafc098 100644
--- a/third_party/WebKit/public/platform/WebGestureEvent.h
+++ b/third_party/WebKit/public/platform/WebGestureEvent.h
@@ -38,6 +38,9 @@ class WebGestureEvent : public WebInputEvent {
int global_y;
WebGestureDevice source_device;
+ // The pointer type for the first touch point in the gesture.
+ WebPointerProperties::PointerType primary_pointer_type;
jochen (gone - plz use gerrit) 2017/06/27 09:29:24 can you assign a default value here?
chongz 2017/06/27 20:13:12 Done. Added default value for readability, but we
+
// If the WebGestureEvent has sourceDevice=WebGestureDeviceTouchscreen, this
// field contains the unique identifier for the touch event that released
// this event at TouchDispositionGestureFilter. If the WebGestureEvents was

Powered by Google App Engine
This is Rietveld 408576698