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

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: pfeldman's comment: Initialize |is_source_touch_event_set_non_blocking| in ctor 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/web/WebInputEvent.cpp ('k') | ui/aura/gestures/gesture_recognizer_unittest.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 4cefc3414fbff56fd901ad0531a5c6027fcf9ee3..0e184e3df93b6b570367c08b3269b285d8fdc313 100644
--- a/third_party/WebKit/public/platform/WebGestureEvent.h
+++ b/third_party/WebKit/public/platform/WebGestureEvent.h
@@ -37,6 +37,7 @@ class WebGestureEvent : public WebInputEvent {
int global_x;
int global_y;
WebGestureDevice source_device;
+ bool is_source_touch_event_set_non_blocking;
pfeldman 2017/06/15 18:56:42 lgtm. btw, in c++11 you can do bool is_source_touc
dtapuska 2017/06/15 19:18:29 Actually the initializer false, isn't needed here.
chongz 2017/06/15 19:37:36 Removed. Confirmed with dtapuska offline and the T
// If the WebGestureEvent has sourceDevice=WebGestureDeviceTouchscreen, this
// field contains the unique identifier for the touch event that released
@@ -164,11 +165,13 @@ class WebGestureEvent : public WebInputEvent {
modifiers,
time_stamp_seconds),
source_device(kWebGestureDeviceUninitialized),
+ is_source_touch_event_set_non_blocking(false),
resending_plugin_id(-1) {}
WebGestureEvent()
: WebInputEvent(sizeof(WebGestureEvent)),
source_device(kWebGestureDeviceUninitialized),
+ is_source_touch_event_set_non_blocking(false),
resending_plugin_id(-1) {}
#if INSIDE_BLINK
« no previous file with comments | « third_party/WebKit/Source/web/WebInputEvent.cpp ('k') | ui/aura/gestures/gesture_recognizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698