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

Unified Diff: third_party/WebKit/Source/web/RemoteFrameOwner.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
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebFrame.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/RemoteFrameOwner.h
diff --git a/third_party/WebKit/Source/web/RemoteFrameOwner.h b/third_party/WebKit/Source/web/RemoteFrameOwner.h
index 4b553fd8e0a7bf78bec9c9691f8a2b3e8479a12c..428f5b87f9aca19bc9d3ed9d5559eedc7da15cd9 100644
--- a/third_party/WebKit/Source/web/RemoteFrameOwner.h
+++ b/third_party/WebKit/Source/web/RemoteFrameOwner.h
@@ -52,6 +52,9 @@ class RemoteFrameOwner final
const override {
return m_delegatedPermissions;
}
+ const WebVector<WebFeaturePolicyFeature>& allowedFeatures() const override {
+ return m_allowedFeatures;
+ }
void setBrowsingContextContainerName(const WebString& name) {
m_browsingContextContainerName = name;
@@ -70,6 +73,10 @@ class RemoteFrameOwner final
const WebVector<mojom::blink::PermissionName>& delegatedPermissions) {
m_delegatedPermissions = delegatedPermissions;
}
+ void setAllowedFeatures(
+ const WebVector<WebFeaturePolicyFeature>& allowedFeatures) {
+ m_allowedFeatures = allowedFeatures;
+ }
DECLARE_VIRTUAL_TRACE();
@@ -91,6 +98,7 @@ class RemoteFrameOwner final
bool m_allowPaymentRequest;
WebString m_csp;
WebVector<mojom::blink::PermissionName> m_delegatedPermissions;
+ WebVector<WebFeaturePolicyFeature> m_allowedFeatures;
};
DEFINE_TYPE_CASTS(RemoteFrameOwner,
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698