| Index: third_party/WebKit/Source/core/html/HTMLFrameElementBase.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLFrameElementBase.h b/third_party/WebKit/Source/core/html/HTMLFrameElementBase.h
|
| index 631685f8d495a5466ee8a50a0aed32d9d1a023ff..ae573611f4d91886d9208e236a6eee9647ba6e6e 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLFrameElementBase.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLFrameElementBase.h
|
| @@ -39,10 +39,18 @@ class CORE_EXPORT HTMLFrameElementBase : public HTMLFrameOwnerElement {
|
| int MarginWidth() const final { return margin_width_; }
|
| int MarginHeight() const final { return margin_height_; }
|
|
|
| + // Return the origin which is to be used for feature policy container
|
| + // policies, when a specific origin is needed. This supports the "allow"
|
| + // attribute, which uses the "src" attribute to determine the origin when the
|
| + // frame is constructed. It also takes into account the frame's sandbox
|
| + // status, and whether the frame should inherit its parent's origin.
|
| + RefPtr<SecurityOrigin> GetOriginForFeaturePolicy() const override;
|
| +
|
| protected:
|
| HTMLFrameElementBase(const QualifiedName&, Document&);
|
|
|
| void ParseAttribute(const AttributeModificationParams&) override;
|
| +
|
| InsertionNotificationRequest InsertedInto(ContainerNode*) override;
|
| void DidNotifySubtreeInsertionsToDocument() final;
|
| void AttachLayoutTree(const AttachContext& = AttachContext()) override;
|
|
|