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

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
« no previous file with comments | « Source/platform/RuntimeEnabledFeatures.in ('k') | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebRuntimeFeatures.cpp
diff --git a/Source/web/WebRuntimeFeatures.cpp b/Source/web/WebRuntimeFeatures.cpp
index 912ded691ea6bbe1951c902646bb0ff65cb7c567..eb374e7046068e3631e715de1569489aedf80e00 100644
--- a/Source/web/WebRuntimeFeatures.cpp
+++ b/Source/web/WebRuntimeFeatures.cpp
@@ -270,6 +270,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);
« no previous file with comments | « Source/platform/RuntimeEnabledFeatures.in ('k') | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698