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

Unified Diff: Source/web/WebRuntimeFeatures.cpp

Issue 91313002: Add a runtime flag for navigator content utils (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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: Source/web/WebRuntimeFeatures.cpp
diff --git a/Source/web/WebRuntimeFeatures.cpp b/Source/web/WebRuntimeFeatures.cpp
index 153ac79590dd1577a40a74dbd7d508bd12831a01..61516970a88965ec87a0b428926cf840c8698c82 100644
--- a/Source/web/WebRuntimeFeatures.cpp
+++ b/Source/web/WebRuntimeFeatures.cpp
@@ -269,6 +269,16 @@ bool WebRuntimeFeatures::isNotificationsEnabled()
return RuntimeEnabledFeatures::notificationsEnabled();
}
+void WebRuntimeFeatures::enableNavigatorContentUtils(bool enable)
+{
+ RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable);
+}
+
+bool WebRuntimeFeatures::isNavigatorContentUtilsEnabled()
+{
+ return RuntimeEnabledFeatures::navigatorContentUtilsEnabled();
+}
+
void WebRuntimeFeatures::enablePagePopup(bool enable)
{
RuntimeEnabledFeatures::setPagePopupEnabled(enable);

Powered by Google App Engine
This is Rietveld 408576698