Index: third_party/WebKit/Source/web/RemoteFrameOwner.h |
diff --git a/third_party/WebKit/Source/web/RemoteFrameOwner.h b/third_party/WebKit/Source/web/RemoteFrameOwner.h |
index feb4de4ee696b062f5354d975258e64c6e3a27ee..25d39777bacb6b72626a0cc442413059cdb12fe9 100644 |
--- a/third_party/WebKit/Source/web/RemoteFrameOwner.h |
+++ b/third_party/WebKit/Source/web/RemoteFrameOwner.h |
@@ -41,6 +41,7 @@ class RemoteFrameOwner final |
int marginWidth() const override { return m_marginWidth; } |
int marginHeight() const override { return m_marginHeight; } |
bool allowFullscreen() const override { return m_allowFullscreen; } |
+ bool allowPaymentRequest() const override { return m_allowPaymentRequest; } |
AtomicString csp() const override { return m_csp; } |
const WebVector<WebPermissionType>& delegatedPermissions() const override { |
return m_delegatedPermissions; |
@@ -52,6 +53,9 @@ class RemoteFrameOwner final |
void setAllowFullscreen(bool allowFullscreen) { |
m_allowFullscreen = allowFullscreen; |
} |
+ void setAllowPaymentRequest(bool allowPaymentRequest) { |
+ m_allowPaymentRequest = allowPaymentRequest; |
+ } |
void setCsp(const WebString& csp) { m_csp = csp; } |
void setDelegatedpermissions( |
const WebVector<WebPermissionType>& delegatedPermissions) { |
@@ -74,6 +78,7 @@ class RemoteFrameOwner final |
int m_marginWidth; |
int m_marginHeight; |
bool m_allowFullscreen; |
+ bool m_allowPaymentRequest; |
WebString m_csp; |
WebVector<WebPermissionType> m_delegatedPermissions; |
}; |