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

Unified Diff: content/browser/renderer_host/input/input_router_config_helper.cc

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
Index: content/browser/renderer_host/input/input_router_config_helper.cc
diff --git a/content/browser/renderer_host/input/input_router_config_helper.cc b/content/browser/renderer_host/input/input_router_config_helper.cc
index 75109d497e76447e83891a10f216e02312df923a..7c95b7928ce48a8649e42dc05f4b2731b4f1b257 100644
--- a/content/browser/renderer_host/input/input_router_config_helper.cc
+++ b/content/browser/renderer_host/input/input_router_config_helper.cc
@@ -23,16 +23,8 @@ namespace {
GestureEventQueue::Config GetGestureEventQueueConfig() {
GestureEventQueue::Config config;
-#if defined(OS_CHROMEOS)
- // Default debouncing interval duration on ChromeOS: if a scroll is in
- // progress, non-scroll events during this interval are deferred to either its
- // end or discarded on receipt of another GestureScrollUpdate.
- // TODO(jdduke): Disable and remove entirely when issues with spurious
- // scroll end detection on the Pixel are resolved, crbug.com/353702.
- const int kDebouncingIntervalTimeMs = 30;
- config.debounce_interval =
- base::TimeDelta::FromMilliseconds(kDebouncingIntervalTimeMs);
-#endif
+ config.debounce_interval = base::TimeDelta::FromMilliseconds(
+ ui::GestureConfiguration::scroll_debounce_interval_in_ms());
config.touchscreen_tap_suppression_config.enabled = true;
config.touchscreen_tap_suppression_config.max_cancel_to_down_time =
« no previous file with comments | « content/browser/renderer_host/input/input_router_client.h ('k') | content/browser/renderer_host/input/input_router_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698