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

Unified Diff: content/child/runtime_features.cc

Issue 698253004: Reland: Implement Aura side of unified touch text selection for contents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased after blink issue fixed: r200194 Created 5 years, 4 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') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/runtime_features.cc
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index 25c6b0ee2519920758897f95e7346ce262316c5a..c6bcac5d72bebf08ad8260ba5053e0c55d2747d1 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -59,7 +59,6 @@ static void SetRuntimeFeatureDefaultsForPlatform() {
WebRuntimeFeatures::enableOrientationEvent(true);
WebRuntimeFeatures::enableFastMobileScrolling(true);
WebRuntimeFeatures::enableMediaCapture(true);
- WebRuntimeFeatures::enableCompositedSelectionUpdate(true);
// Android won't be able to reliably support non-persistent notifications, the
// intended behavior for which is in flux by itself.
WebRuntimeFeatures::enableNotificationConstructor(false);
@@ -67,6 +66,10 @@ static void SetRuntimeFeatureDefaultsForPlatform() {
WebRuntimeFeatures::enableNavigatorContentUtils(true);
#endif // defined(OS_ANDROID)
+#if defined(OS_ANDROID) || defined(USE_AURA)
+ WebRuntimeFeatures::enableCompositedSelectionUpdate(true);
+#endif
+
#if !(defined OS_ANDROID || defined OS_CHROMEOS || defined OS_IOS)
// Only Android, ChromeOS, and IOS support NetInfo right now.
WebRuntimeFeatures::enableNetworkInformation(false);
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698