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

Unified Diff: third_party/WebKit/Source/core/html/HTMLIFrameElement.h

Issue 2697713003: Initial Implementation of Iframe Attribute for Feature Policy (Part 2) (Closed)
Patch Set: Update rebase Created 3 years, 10 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: third_party/WebKit/Source/core/html/HTMLIFrameElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLIFrameElement.h b/third_party/WebKit/Source/core/html/HTMLIFrameElement.h
index effd2136ba3a15f0eaa85457167b4413ffd16f37..b1374437df272d4abd4737d946f547aa38fe6603 100644
--- a/third_party/WebKit/Source/core/html/HTMLIFrameElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLIFrameElement.h
@@ -85,6 +85,9 @@ class CORE_EXPORT HTMLIFrameElement final
const override {
return m_delegatedPermissions;
}
+ const WebVector<WebFeaturePolicyFeature>& allowedFeatures() const override {
+ return m_allowedFeatures;
+ }
bool initializePermissionsAttribute();
@@ -98,7 +101,7 @@ class CORE_EXPORT HTMLIFrameElement final
Member<HTMLIFrameElementAllow> m_allow;
WebVector<mojom::blink::PermissionName> m_delegatedPermissions;
- WebVector<WebFeaturePolicyFeature> m_allowedFeatureNames;
+ WebVector<WebFeaturePolicyFeature> m_allowedFeatures;
ReferrerPolicy m_referrerPolicy;
};

Powered by Google App Engine
This is Rietveld 408576698