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

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

Issue 679633005: Expose native, desktop and mobile gesture detection defaults (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review Created 6 years 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/stylus_text_selector.cc
diff --git a/content/browser/renderer_host/input/stylus_text_selector.cc b/content/browser/renderer_host/input/stylus_text_selector.cc
index 1a428390688eb43f4fcc1f9a9b37c8941451faeb..b226dec4142b80757b88b63aded504d44b49d0c2 100644
--- a/content/browser/renderer_host/input/stylus_text_selector.cc
+++ b/content/browser/renderer_host/input/stylus_text_selector.cc
@@ -17,7 +17,9 @@ namespace {
scoped_ptr<GestureDetector> CreateGestureDetector(
ui::GestureListener* listener) {
GestureDetector::Config config =
- ui::DefaultGestureProviderConfig().gesture_detector_config;
+ ui::GetGestureProviderConfig(
+ ui::GestureProviderConfigType::CURRENT_PLATFORM)
+ .gesture_detector_config;
ui::DoubleTapListener* null_double_tap_listener = nullptr;

Powered by Google App Engine
This is Rietveld 408576698