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

Unified Diff: third_party/WebKit/Source/web/RemoteFrameOwner.h

Issue 2568123002: [DO NOT SUBMIT] Support allowpaymentrequest with out-of-process iframes (Closed)
Patch Set: Created 4 years 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/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;
};
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp ('k') | third_party/WebKit/Source/web/RemoteFrameOwner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698