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

Unified Diff: third_party/WebKit/public/web/WebFrameOwnerProperties.h

Issue 2394473002: iframes with allowpaymentrequest attribute are allowed to make payment requests. (Closed)
Patch Set: Rebaselined tests 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/public/web/WebFrameOwnerProperties.h
diff --git a/third_party/WebKit/public/web/WebFrameOwnerProperties.h b/third_party/WebKit/public/web/WebFrameOwnerProperties.h
index 375413821e940e8a03488db859f177dde7fe73c3..4ddf992eb84c1833957d8d0160ea46fc5e1e8f9a 100644
--- a/third_party/WebKit/public/web/WebFrameOwnerProperties.h
+++ b/third_party/WebKit/public/web/WebFrameOwnerProperties.h
@@ -19,6 +19,7 @@ struct WebFrameOwnerProperties {
int marginWidth;
int marginHeight;
bool allowFullscreen;
+ bool allowPaymentRequest;
WebString requiredCsp;
WebVector<WebPermissionType> delegatedPermissions;
@@ -34,12 +35,14 @@ struct WebFrameOwnerProperties {
int marginWidth,
int marginHeight,
bool allowFullscreen,
+ bool allowPaymentRequest,
const WebString& requiredCsp,
const WebVector<WebPermissionType>& delegatedPermissions)
: scrollingMode(static_cast<ScrollingMode>(scrollingMode)),
marginWidth(marginWidth),
marginHeight(marginHeight),
allowFullscreen(allowFullscreen),
+ allowPaymentRequest(allowPaymentRequest),
requiredCsp(requiredCsp),
delegatedPermissions(delegatedPermissions) {}
#endif

Powered by Google App Engine
This is Rietveld 408576698