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

Unified Diff: third_party/WebKit/public/web/WebFrameOwnerProperties.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
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ec2f2a39fbde73ecfe86303fa75df5165a735a34..bc3cee54401f55c0a909b505f82fac461efe196f 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;
@@ -26,7 +27,8 @@ struct WebFrameOwnerProperties {
: scrollingMode(ScrollingMode::Auto),
marginWidth(-1),
marginHeight(-1),
- allowFullscreen(false) {}
+ allowFullscreen(false),
+ allowPaymentRequest(false) {}
#if INSIDE_BLINK
WebFrameOwnerProperties(
@@ -34,12 +36,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
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698