summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/html/html_iframe_element.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/html/html_iframe_element.h')
-rw-r--r--chromium/third_party/blink/renderer/core/html/html_iframe_element.h21
1 files changed, 14 insertions, 7 deletions
diff --git a/chromium/third_party/blink/renderer/core/html/html_iframe_element.h b/chromium/third_party/blink/renderer/core/html/html_iframe_element.h
index f784f13e4a9..5040896b979 100644
--- a/chromium/third_party/blink/renderer/core/html/html_iframe_element.h
+++ b/chromium/third_party/blink/renderer/core/html/html_iframe_element.h
@@ -24,6 +24,7 @@
#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_HTML_HTML_IFRAME_ELEMENT_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_HTML_HTML_IFRAME_ELEMENT_H_
+#include "services/network/public/mojom/trust_tokens.mojom-blink-forward.h"
#include "third_party/blink/public/common/feature_policy/feature_policy.h"
#include "third_party/blink/public/common/frame/frame_owner_element_type.h"
#include "third_party/blink/renderer/core/core_export.h"
@@ -55,12 +56,14 @@ class CORE_EXPORT HTMLIFrameElement final
ParsedFeaturePolicy ConstructContainerPolicy(
Vector<String>* /* messages */) const override;
+ DocumentPolicy::FeatureState ConstructRequiredPolicy() const override;
FrameOwnerElementType OwnerType() const final {
return FrameOwnerElementType::kIframe;
}
- WebSandboxFlags sandbox_flags_converted_to_feature_policies() const {
+ mojom::blink::WebSandboxFlags sandbox_flags_converted_to_feature_policies()
+ const {
return sandbox_flags_converted_to_feature_policies_;
}
@@ -84,28 +87,32 @@ class CORE_EXPORT HTMLIFrameElement final
network::mojom::ReferrerPolicy ReferrerPolicyAttribute() override;
+ network::mojom::blink::TrustTokenParamsPtr ConstructTrustTokenParams()
+ const override;
+
// FrameOwner overrides:
bool AllowFullscreen() const override { return allow_fullscreen_; }
bool AllowPaymentRequest() const override { return allow_payment_request_; }
- bool DisallowDocumentAccess() const override {
- return disallow_document_access_;
- }
AtomicString RequiredCsp() const override { return required_csp_; }
AtomicString name_;
AtomicString required_csp_;
AtomicString allow_;
+ AtomicString required_policy_; // policy attribute
+ // String attribute storing a JSON representation of the Trust Token
+ // parameters (in order to align with the fetch interface to the Trust Token
+ // API). If present, this is parsed in ConstructTrustTokenParams.
+ AtomicString trust_token_;
bool allow_fullscreen_;
bool allow_payment_request_;
bool collapsed_by_client_;
- bool disallow_document_access_;
Member<HTMLIFrameElementSandbox> sandbox_;
Member<DOMFeaturePolicy> policy_;
// This represents a subset of sandbox flags set through 'sandbox' attribute
// that will be converted to feature policies as part of the container
// policies.
- WebSandboxFlags sandbox_flags_converted_to_feature_policies_ =
- WebSandboxFlags::kNone;
+ mojom::blink::WebSandboxFlags sandbox_flags_converted_to_feature_policies_ =
+ mojom::blink::WebSandboxFlags::kNone;
network::mojom::ReferrerPolicy referrer_policy_;
};