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

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: Without RenderWidgetHostDelegate part (on top of crrev.com/1162373002) Created 5 years, 6 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/child/runtime_features.cc
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index 5ce09de7e246083242924e966594b016a19b9fe1..079367f88cdc9960721b362bc2119a30823d4b5b 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);

Powered by Google App Engine
This is Rietveld 408576698