| Index: third_party/WebKit/public/web/WebFrameOwnerProperties.h
|
| diff --git a/third_party/WebKit/public/web/WebFrameOwnerProperties.h b/third_party/WebKit/public/web/WebFrameOwnerProperties.h
|
| index 077e20d0adfc5a73821aa41b06057ad857624663..5ba8d741452c0cd03e6bcd0a8fc674957c44ba90 100644
|
| --- a/third_party/WebKit/public/web/WebFrameOwnerProperties.h
|
| +++ b/third_party/WebKit/public/web/WebFrameOwnerProperties.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef WebFrameOwnerProperties_h
|
| #define WebFrameOwnerProperties_h
|
|
|
| +#include "../platform/WebFeaturePolicy.h"
|
| #include "../platform/WebString.h"
|
| #include "../platform/WebVector.h"
|
| #include "third_party/WebKit/public/platform/modules/permissions/permission.mojom-shared.h"
|
| @@ -25,6 +26,9 @@ struct WebFrameOwnerProperties {
|
| WebString requiredCsp;
|
| WebVector<mojom::PermissionName> delegatedPermissions;
|
|
|
| + public:
|
| + WebVector<WebFeaturePolicyFeature> allowedFeatures;
|
| +
|
| WebFrameOwnerProperties()
|
| : scrollingMode(ScrollingMode::Auto),
|
| marginWidth(-1),
|
| @@ -41,7 +45,8 @@ struct WebFrameOwnerProperties {
|
| bool allowFullscreen,
|
| bool allowPaymentRequest,
|
| const WebString& requiredCsp,
|
| - const WebVector<mojom::PermissionName>& delegatedPermissions)
|
| + const WebVector<mojom::PermissionName>& delegatedPermissions,
|
| + const WebVector<WebFeaturePolicyFeature>& allowedFeatures)
|
| : name(name),
|
| scrollingMode(static_cast<ScrollingMode>(scrollingMode)),
|
| marginWidth(marginWidth),
|
| @@ -49,7 +54,8 @@ struct WebFrameOwnerProperties {
|
| allowFullscreen(allowFullscreen),
|
| allowPaymentRequest(allowPaymentRequest),
|
| requiredCsp(requiredCsp),
|
| - delegatedPermissions(delegatedPermissions) {}
|
| + delegatedPermissions(delegatedPermissions),
|
| + allowedFeatures(allowedFeatures) {}
|
| #endif
|
| };
|
|
|
|
|