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

Unified Diff: content/public/common/content_features.cc

Issue 2898663002: Implement feature policy checks in the browser process (Closed)
Patch Set: Implement feature policy checks in the browser process Created 3 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 | « content/public/common/content_features.h ('k') | content/public/test/test_renderer_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_features.cc
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
index 3588134f311840dc0fbe564ed02aa1ffd5ebc6e5..3b2ec58d49c254852e83a133b158afa331565289 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -254,6 +254,11 @@ const base::Feature kTopDocumentIsolation{"top-document-isolation",
const base::Feature kTouchpadAndWheelScrollLatching{
"TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT};
+// Use Feature Policy to gate the use of permission features like midi,
+// geolocation, camera, microphone, etc.
+const base::Feature kUseFeaturePolicyForPermissions{
+ "UseFeaturePolicyForPermissions", base::FEATURE_DISABLED_BY_DEFAULT};
+
// Controls whether vibrate requires user gesture.
const base::Feature kVibrateRequiresUserGesture{
"VibrateRequiresUserGesture", base::FEATURE_ENABLED_BY_DEFAULT};
« no previous file with comments | « content/public/common/content_features.h ('k') | content/public/test/test_renderer_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698