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

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

Issue 2394473002: iframes with allowpaymentrequest attribute are allowed to make payment requests. (Closed)
Patch Set: Created 4 years, 2 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 a580503b4716835019bfe59a8c945432cdd87395..b039b1f82d2284b88f49304711d313430dfc0d5f 100644
--- a/third_party/WebKit/Source/core/html/HTMLIFrameElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLIFrameElement.h
@@ -73,6 +73,8 @@ class CORE_EXPORT HTMLIFrameElement final : public HTMLFrameElementBase {
bool allowFullscreen() const override { return m_allowFullscreen; }
+ bool allowPaymentRequest() const override { return m_allowPaymentRequest; }
+
const WebVector<WebPermissionType>& delegatedPermissions() const override {
return m_delegatedPermissions;
}
@@ -83,6 +85,7 @@ class CORE_EXPORT HTMLIFrameElement final : public HTMLFrameElementBase {
AtomicString m_csp;
bool m_didLoadNonEmptyDocument;
bool m_allowFullscreen;
+ bool m_allowPaymentRequest;
Member<HTMLIFrameElementSandbox> m_sandbox;
Member<HTMLIFrameElementPermissions> m_permissions;

Powered by Google App Engine
This is Rietveld 408576698