Index: third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h |
diff --git a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h |
index 6ff75dfc26c709727cc0b8a8cf3e177441eccceb..9ff725dcaccd3d7c735bae8d74c03c0428c8a9ce 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h |
@@ -25,6 +25,7 @@ |
#include "core/dom/Document.h" |
#include "core/frame/FrameOwner.h" |
#include "core/html/HTMLElement.h" |
+#include "platform/feature_policy/FeaturePolicy.h" |
#include "platform/heap/Handle.h" |
#include "platform/scroll/ScrollTypes.h" |
#include "platform/weborigin/SecurityPolicy.h" |
@@ -93,6 +94,7 @@ class CORE_EXPORT HTMLFrameOwnerElement : public HTMLElement, |
bool isDisplayNone() const override { return !m_widget; } |
AtomicString csp() const override { return nullAtom; } |
const WebVector<WebFeaturePolicyFeature>& allowedFeatures() const override; |
+ const WebParsedFeaturePolicy& containerPolicy() const override; |
DECLARE_VIRTUAL_TRACE(); |
@@ -107,6 +109,7 @@ class CORE_EXPORT HTMLFrameOwnerElement : public HTMLElement, |
void disposeWidgetSoon(FrameViewBase*); |
void frameOwnerPropertiesChanged(); |
+ void updateContainerPolicy(); |
private: |
// Intentionally private to prevent redundant checks when the type is |
@@ -123,6 +126,11 @@ class CORE_EXPORT HTMLFrameOwnerElement : public HTMLElement, |
Member<Frame> m_contentFrame; |
Member<FrameViewBase> m_widget; |
SandboxFlags m_sandboxFlags; |
+ |
+ WebParsedFeaturePolicy m_containerPolicy; |
+ |
+ // Tracks the absolute URL represented by the contents of the src attribute. |
+ KURL m_absoluteURL; |
}; |
DEFINE_ELEMENT_TYPE_CASTS(HTMLFrameOwnerElement, isFrameOwnerElement()); |