Index: third_party/WebKit/Source/core/frame/FrameOwner.h |
diff --git a/third_party/WebKit/Source/core/frame/FrameOwner.h b/third_party/WebKit/Source/core/frame/FrameOwner.h |
index d1d529286bb3475f545f0ac60f6b39bebf9b7613..352d8ed4f7033308c419c75be0fa8e484b78769e 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameOwner.h |
+++ b/third_party/WebKit/Source/core/frame/FrameOwner.h |
@@ -42,6 +42,7 @@ class CORE_EXPORT FrameOwner : public GarbageCollectedMixin { |
virtual int marginWidth() const = 0; |
virtual int marginHeight() const = 0; |
virtual bool allowFullscreen() const = 0; |
+ virtual bool allowPaymentRequest() const = 0; |
virtual AtomicString csp() const = 0; |
virtual const WebVector<WebPermissionType>& delegatedPermissions() const = 0; |
}; |
@@ -67,6 +68,7 @@ class CORE_EXPORT DummyFrameOwner |
int marginWidth() const override { return -1; } |
int marginHeight() const override { return -1; } |
bool allowFullscreen() const override { return false; } |
+ bool allowPaymentRequest() const override { return false; } |
AtomicString csp() const override { return nullAtom; } |
const WebVector<WebPermissionType>& delegatedPermissions() const override { |
DEFINE_STATIC_LOCAL(WebVector<WebPermissionType>, permissions, ()); |