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

Unified Diff: Source/web/WebRuntimeFeatures.cpp

Issue 1156113007: Add WebRuntimeFeatures::enablePermissionsAPI. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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 | « no previous file | 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 9d2b41344772cdda155ba23a9144bd147526e9af..b931ac169da076a3ef20c1961804c1a3e797644e 100644
--- a/Source/web/WebRuntimeFeatures.cpp
+++ b/Source/web/WebRuntimeFeatures.cpp
@@ -203,6 +203,11 @@ void WebRuntimeFeatures::enablePeerConnection(bool enable)
RuntimeEnabledFeatures::setPeerConnectionEnabled(enable);
}
+void WebRuntimeFeatures::enablePermissionsAPI(bool enable)
+{
+ RuntimeEnabledFeatures::setPermissionsEnabled(enable);
+}
+
void WebRuntimeFeatures::enableRequestAutocomplete(bool enable)
{
RuntimeEnabledFeatures::setRequestAutocompleteEnabled(enable);
« no previous file with comments | « no previous file | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698