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

Unified Diff: cc/input/scroll_state.cc

Issue 1646663002: Refactor Scroll Customization to share cc::ScrollStateData with blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix linking more. Created 4 years, 10 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.cc
diff --git a/cc/input/scroll_state.cc b/cc/input/scroll_state.cc
index 419b5904363ea02be74552f7a0ece21d7b441560..d70d7d4efc04b44eac8b7e04ace6c22444e263dd 100644
--- a/cc/input/scroll_state.cc
+++ b/cc/input/scroll_state.cc
@@ -20,8 +20,8 @@ ScrollState::ScrollState(double delta_x,
bool is_in_inertial_phase,
bool is_ending,
bool should_propagate,
- bool delta_consumed_for_scroll_sequence,
- bool is_direct_manipulation)
+ bool is_direct_manipulation,
+ bool delta_consumed_for_scroll_sequence)
: data_(delta_x,
delta_y,
start_position_x,
@@ -32,8 +32,10 @@ ScrollState::ScrollState(double delta_x,
is_in_inertial_phase,
is_ending,
should_propagate,
- delta_consumed_for_scroll_sequence,
- is_direct_manipulation) {}
+ true, // TODO(tdresser): populate from_user_input.
+ is_direct_manipulation,
+ 0, // TODO(tdresser): populate delta_granularity.
+ delta_consumed_for_scroll_sequence) {}
ScrollState::ScrollState(ScrollStateData data) : data_(data) {}

Powered by Google App Engine
This is Rietveld 408576698