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

Unified Diff: ui/events/gestures/gesture_configuration.h

Issue 291003002: Move OverscrollController to RenderWidgetHostViewAura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DCHECK_GE Created 6 years, 7 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 | « content/browser/web_contents/web_contents_view_aura.cc ('k') | ui/events/gestures/gesture_configuration.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/gestures/gesture_configuration.h
diff --git a/ui/events/gestures/gesture_configuration.h b/ui/events/gestures/gesture_configuration.h
index f121b75d8db84a7a3f31b4e98e066071faa4973c..08ce578eeebe91dffe8e5c0e02f2538fa8bb6799 100644
--- a/ui/events/gestures/gesture_configuration.h
+++ b/ui/events/gestures/gesture_configuration.h
@@ -182,6 +182,12 @@ class EVENTS_BASE_EXPORT GestureConfiguration {
static int set_show_press_delay_in_ms(int val) {
return show_press_delay_in_ms_ = val;
}
+ static int scroll_debounce_interval_in_ms() {
+ return scroll_debounce_interval_in_ms_;
+ }
+ static int set_scroll_debounce_interval_in_ms(int val) {
+ return scroll_debounce_interval_in_ms_ = val;
+ }
static void set_fling_acceleration_curve_coefficients(int i, float val) {
fling_acceleration_curve_coefficients_[i] = val;
}
@@ -250,6 +256,8 @@ class EVENTS_BASE_EXPORT GestureConfiguration {
static double rail_start_proportion_;
static double scroll_prediction_seconds_;
static int show_press_delay_in_ms_;
+ static int scroll_debounce_interval_in_ms_;
+
static float fling_acceleration_curve_coefficients_[NumAccelParams];
static float fling_velocity_cap_;
// TODO(davemoore): Move into chrome/browser/ui.
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura.cc ('k') | ui/events/gestures/gesture_configuration.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698