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

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

Issue 2378643002: Propagating csp attribute changes on frameOwnerPropertiesChanged() (Closed)
Patch Set: rebasing on master 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
« 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 83df9c14cb206111c18e298f38c795a59191507b..375413821e940e8a03488db859f177dde7fe73c3 100644
--- a/third_party/WebKit/public/web/WebFrameOwnerProperties.h
+++ b/third_party/WebKit/public/web/WebFrameOwnerProperties.h
@@ -5,6 +5,7 @@
#ifndef WebFrameOwnerProperties_h
#define WebFrameOwnerProperties_h
+#include "public/platform/WebString.h"
#include "public/platform/WebVector.h"
#include "public/platform/modules/permissions/WebPermissionType.h"
#include <algorithm>
@@ -18,6 +19,7 @@ struct WebFrameOwnerProperties {
int marginWidth;
int marginHeight;
bool allowFullscreen;
+ WebString requiredCsp;
WebVector<WebPermissionType> delegatedPermissions;
WebFrameOwnerProperties()
@@ -32,11 +34,13 @@ struct WebFrameOwnerProperties {
int marginWidth,
int marginHeight,
bool allowFullscreen,
+ const WebString& requiredCsp,
const WebVector<WebPermissionType>& delegatedPermissions)
: scrollingMode(static_cast<ScrollingMode>(scrollingMode)),
marginWidth(marginWidth),
marginHeight(marginHeight),
allowFullscreen(allowFullscreen),
+ 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