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

Unified Diff: content/browser/renderer_host/input/render_widget_host_latency_tracker.h

Issue 2801043002: Fix RenderWidgetHostLatencyTracker handling of multi-finger touch. (Closed)
Patch Set: Fix nits. Created 3 years, 8 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 | « no previous file | content/browser/renderer_host/input/render_widget_host_latency_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/input/render_widget_host_latency_tracker.h
diff --git a/content/browser/renderer_host/input/render_widget_host_latency_tracker.h b/content/browser/renderer_host/input/render_widget_host_latency_tracker.h
index 7166ff20d69d413d075db77086d1bc8475ae5cc9..520e7ee9d100287283a7d754e89a884ecadaa938 100644
--- a/content/browser/renderer_host/input/render_widget_host_latency_tracker.h
+++ b/content/browser/renderer_host/input/render_widget_host_latency_tracker.h
@@ -78,9 +78,9 @@ class CONTENT_EXPORT RenderWidgetHostLatencyTracker {
int64_t latency_component_id_;
float device_scale_factor_;
bool has_seen_first_gesture_scroll_update_;
- // Whether the current stream of touch events has ever included more than one
- // touch point.
- bool multi_finger_gesture_;
+ // Whether the current stream of touch events includes more than one active
+ // touch point. This is set in OnInputEvent, and cleared in OnInputEventAck.
+ bool active_multi_finger_gesture_;
// Whether the touch start for the current stream of touch events had its
// default action prevented. Only valid for single finger gestures.
bool touch_start_default_prevented_;
« no previous file with comments | « no previous file | content/browser/renderer_host/input/render_widget_host_latency_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698