Index: third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp |
diff --git a/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp b/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp |
index 51cabe384318c6df08f81d54e45eccead7a43177..fd05c583041e48437b95dcc2c63806478acb2448 100644 |
--- a/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp |
+++ b/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp |
@@ -99,6 +99,8 @@ const FeaturePolicy::Feature kDocumentDomain{ |
"domain", FeaturePolicy::FeatureDefault::EnableForAll}; |
const FeaturePolicy::Feature kDocumentWrite{ |
"docwrite", FeaturePolicy::FeatureDefault::EnableForAll}; |
+const FeaturePolicy::Feature kFullscreenFeature{ |
+ "fullscreen", FeaturePolicy::FeatureDefault::EnableForSelf}; |
const FeaturePolicy::Feature kGeolocationFeature{ |
"geolocation", FeaturePolicy::FeatureDefault::EnableForSelf}; |
const FeaturePolicy::Feature kMidiFeature{ |
@@ -162,9 +164,9 @@ const FeaturePolicy::FeatureList& FeaturePolicy::getDefaultFeatureList() { |
DEFINE_STATIC_LOCAL( |
Vector<const FeaturePolicy::Feature*>, defaultFeatureList, |
({&kDocumentCookie, &kDocumentDomain, &kDocumentWrite, |
- &kGeolocationFeature, &kMidiFeature, &kNotificationsFeature, |
- &kPaymentFeature, &kPushFeature, &kSyncScript, &kSyncXHR, &kUsermedia, |
- &kVibrateFeature, &kWebRTC})); |
+ &kGeolocationFeature, &kFullscreenFeature, &kMidiFeature, |
+ &kNotificationsFeature, &kPaymentFeature, &kPushFeature, &kSyncScript, |
+ &kSyncXHR, &kUsermedia, &kVibrateFeature, &kWebRTC})); |
return defaultFeatureList; |
} |