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

Unified Diff: Source/web/WebRuntimeFeatures.cpp

Issue 1150653002: Add WebRuntimeFeatures::enablePermissionsAPI. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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') | public/web/WebRuntimeFeatures.h » ('J')
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 ce21c432c356bb3fa7e723db9cef48fbf89d01ca..6bf200fc0b8d84e7442efd95dae382be853a6170 100644
--- a/Source/web/WebRuntimeFeatures.cpp
+++ b/Source/web/WebRuntimeFeatures.cpp
@@ -193,6 +193,11 @@ void WebRuntimeFeatures::enablePagePopup(bool enable)
RuntimeEnabledFeatures::setPagePopupEnabled(enable);
}
+void WebRuntimeFeatures::enablePermissions(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') | public/web/WebRuntimeFeatures.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698