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

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

Issue 2680083002: Initial Implementation of Iframe Attribute for Feature Policy (Part 1) (Closed)
Patch Set: Codereview: nit 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 6f1d0265f1c6c0ea00c17ad4363d88ef1982de28..effd2136ba3a15f0eaa85457167b4413ffd16f37 100644
--- a/third_party/WebKit/Source/core/html/HTMLIFrameElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLIFrameElement.h
@@ -26,9 +26,11 @@
#include "core/CoreExport.h"
#include "core/html/HTMLFrameElementBase.h"
+#include "core/html/HTMLIFrameElementAllow.h"
#include "core/html/HTMLIFrameElementPermissions.h"
#include "core/html/HTMLIFrameElementSandbox.h"
#include "platform/Supplementable.h"
+#include "public/platform/WebFeaturePolicy.h"
#include "public/platform/WebVector.h"
#include "public/platform/modules/permissions/permission.mojom-blink.h"
@@ -46,9 +48,11 @@ class CORE_EXPORT HTMLIFrameElement final
~HTMLIFrameElement() override;
DOMTokenList* sandbox() const;
DOMTokenList* permissions() const;
+ DOMTokenList* allow() const;
void sandboxValueWasSet();
void permissionsValueWasSet();
+ void allowValueWasSet();
private:
explicit HTMLIFrameElement(Document&);
@@ -91,8 +95,10 @@ class CORE_EXPORT HTMLIFrameElement final
bool m_allowPaymentRequest;
Member<HTMLIFrameElementSandbox> m_sandbox;
Member<HTMLIFrameElementPermissions> m_permissions;
+ Member<HTMLIFrameElementAllow> m_allow;
WebVector<mojom::blink::PermissionName> m_delegatedPermissions;
+ WebVector<WebFeaturePolicyFeature> m_allowedFeatureNames;
ReferrerPolicy m_referrerPolicy;
};

Powered by Google App Engine
This is Rietveld 408576698