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

Unified Diff: cc/input/scroll_state_data.h

Issue 2907053004: GSB uses delta_hints to calculate scrolling chain. (Closed)
Patch Set: review comments addressed. 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: cc/input/scroll_state_data.h
diff --git a/cc/input/scroll_state_data.h b/cc/input/scroll_state_data.h
index f3559a89d0758fe72bd43cfe0f2e3b1b964e0e6d..9637637e2be32debf2e90011e753677f6cdbe676 100644
--- a/cc/input/scroll_state_data.h
+++ b/cc/input/scroll_state_data.h
@@ -22,6 +22,10 @@ class CC_EXPORT ScrollStateData {
// Scroll delta in viewport coordinates (DIP).
double delta_x;
double delta_y;
+ // Scroll delta hint in viewport coordinates (DIP).
+ double delta_x_hint;
+ double delta_y_hint;
+ bool ignore_delta_hints;
// Pointer (i.e. cursor/touch point) position in viewport coordinates (DIP).
int position_x;
int position_y;

Powered by Google App Engine
This is Rietveld 408576698