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

Unified Diff: content/renderer/render_view_impl.cc

Issue 2547373002: Rename TouchEventAPI to TouchEventFeatureDetection (Closed)
Patch Set: Merge branch 'master' of https://chromium.googlesource.com/chromium/src into rename Created 4 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
« no previous file with comments | « content/public/common/web_preferences.cc ('k') | content/shell/app/shell_main_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 6c5384936e3b5d4cee319e5979b5da52121e1a31..af38e868c82c846dfa1b38f55b042d56b3f82387 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -924,7 +924,8 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs,
prefs.should_clear_document_background);
settings->setEnableScrollAnimator(prefs.enable_scroll_animator);
- WebRuntimeFeatures::enableTouchEventAPI(prefs.touch_event_api_enabled);
+ WebRuntimeFeatures::enableTouchEventFeatureDetection(
+ prefs.touch_event_feature_detection_enabled);
settings->setMaxTouchPoints(prefs.pointer_events_max_touch_points);
settings->setAvailablePointerTypes(prefs.available_pointer_types);
settings->setPrimaryPointerType(
« no previous file with comments | « content/public/common/web_preferences.cc ('k') | content/shell/app/shell_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698