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

Unified Diff: ui/events/gesture_event_details.h

Issue 2869823003: [VSync Queue] Plug touch ack to gesture events and flush vsync queue if necessary (Closed)
Patch Set: Fix MSAN Use-of-uninitialized-value: Initialize GestureEventDetails 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: ui/events/gesture_event_details.h
diff --git a/ui/events/gesture_event_details.h b/ui/events/gesture_event_details.h
index 2b066d56188c5a7ae999492165d8e74b81b8734f..907a940ead868748be92cd5c062abe0fc440ab30 100644
--- a/ui/events/gesture_event_details.h
+++ b/ui/events/gesture_event_details.h
@@ -45,6 +45,15 @@ struct EVENTS_BASE_EXPORT GestureEventDetails {
device_type_ = device_type;
}
+ bool is_source_touch_event_set_non_blocking() const {
+ return is_source_touch_event_set_non_blocking_;
+ }
+ void set_is_source_touch_event_set_non_blocking(
+ bool is_source_touch_event_set_non_blocking) {
+ is_source_touch_event_set_non_blocking_ =
+ is_source_touch_event_set_non_blocking;
+ }
+
int touch_points() const { return touch_points_; }
void set_touch_points(int touch_points) {
DCHECK_GT(touch_points, 0);
@@ -225,6 +234,8 @@ struct EVENTS_BASE_EXPORT GestureEventDetails {
GestureDeviceType device_type_;
+ bool is_source_touch_event_set_non_blocking_ = false;
chongz 2017/06/19 20:24:39 |GestureEventDetails.is_source_touch_event_set_non
+
int touch_points_; // Number of active touch points in the gesture.
// Bounding box is an axis-aligned rectangle that contains all the

Powered by Google App Engine
This is Rietveld 408576698