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

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

Issue 2869823003: [VSync Queue] Plug touch ack to gesture events and flush vsync queue if necessary (Closed)
Patch Set: Created 3 years, 7 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 797e62004be43b39584ed9bb3c7503541c771fb7..920ceae6a28b675d489d5a92c7d359e8ec309edc 100644
--- a/third_party/WebKit/public/platform/WebGestureEvent.h
+++ b/third_party/WebKit/public/platform/WebGestureEvent.h
@@ -53,6 +53,8 @@ class WebGestureEvent : public WebInputEvent {
// plumb it through event conversions.
int resending_plugin_id;
+ DispatchType source_touch_event_dispatch_type;
+
union {
// Tap information must be set for GestureTap, GestureTapUnconfirmed,
// and GestureDoubleTap events.
@@ -163,12 +165,14 @@ class WebGestureEvent : public WebInputEvent {
modifiers,
time_stamp_seconds),
source_device(kWebGestureDeviceUninitialized),
- resending_plugin_id(-1) {}
+ resending_plugin_id(-1),
+ source_touch_event_dispatch_type(kBlocking) {}
WebGestureEvent()
: WebInputEvent(sizeof(WebGestureEvent)),
source_device(kWebGestureDeviceUninitialized),
- resending_plugin_id(-1) {}
+ resending_plugin_id(-1),
+ source_touch_event_dispatch_type(kBlocking) {}
#if INSIDE_BLINK
BLINK_PLATFORM_EXPORT float DeltaXInRootFrame() const;

Powered by Google App Engine
This is Rietveld 408576698