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

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: jochen and dtapuska's comments: Add default value 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
« no previous file with comments | « third_party/WebKit/Source/platform/exported/WebInputEvent.cpp ('k') | ui/events/blink/blink_event_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9393d545ce3d6fa636c15364856f42b1bc549cd7..3a07ab2ef8c7b37c07a27b0cdc1c0fe5426d875d 100644
--- a/third_party/WebKit/public/platform/WebGestureEvent.h
+++ b/third_party/WebKit/public/platform/WebGestureEvent.h
@@ -39,6 +39,10 @@ class WebGestureEvent : public WebInputEvent {
WebGestureDevice source_device;
bool is_source_touch_event_set_non_blocking;
+ // The pointer type for the first touch point in the gesture.
+ WebPointerProperties::PointerType primary_pointer_type =
+ WebPointerProperties::PointerType::kUnknown;
+
// 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
« no previous file with comments | « third_party/WebKit/Source/platform/exported/WebInputEvent.cpp ('k') | ui/events/blink/blink_event_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698