Chromium Code Reviews| 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 |