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

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

Issue 2356193002: [Sensors] Adding chrome flag to enable Generic Sensor based APIs (Closed)
Patch Set: Updated histograms.xml Created 4 years, 3 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
Index: content/public/common/content_features.cc
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
index 2edcf02d87a6edabf3787beab6453a5483d5b2bb..6018d9beb0c9bd86f7722fb1ac83ff246a0d5e6d 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -56,6 +56,11 @@ const base::Feature kFramebustingNeedsSameOriginOrUserGesture{
const base::Feature kGamepadExtensions{"GamepadExtensions",
base::FEATURE_DISABLED_BY_DEFAULT};
+// Enables sensors based on Generic Sensor API:
+// https://w3c.github.io/sensors/
+const base::Feature kGenericSensor{"GenericSensor",
+ base::FEATURE_DISABLED_BY_DEFAULT};
+
// FeatureList definition for trials to enable the download button on
// MediaDocument.
const base::Feature kMediaDocumentDownloadButton{

Powered by Google App Engine
This is Rietveld 408576698