Index: third_party/WebKit/public/web/WebFrameClient.h |
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h |
index f8b55747788d6a518330072cd51bff4854653ffa..05d865b88fc2bef16b606dd11bd6955ec224f2c4 100644 |
--- a/third_party/WebKit/public/web/WebFrameClient.h |
+++ b/third_party/WebKit/public/web/WebFrameClient.h |
@@ -300,6 +300,7 @@ class BLINK_EXPORT WebFrameClient { |
bool isClientRedirect; |
WebFormElement form; |
bool isCacheDisabled; |
+ bool shouldBypassMainWorldCSP; |
dcheng
2017/03/16 08:34:47
I would encourage the use of an enum for this (and
arthursonzogni
2017/03/16 15:47:36
By seeing all of these booleans, I thought that I
|
NavigationPolicyInfo(WebURLRequest& urlRequest) |
: extraData(nullptr), |
@@ -309,7 +310,8 @@ class BLINK_EXPORT WebFrameClient { |
replacesCurrentHistoryItem(false), |
isHistoryNavigationInNewChildFrame(false), |
isClientRedirect(false), |
- isCacheDisabled(false) {} |
+ isCacheDisabled(false), |
+ shouldBypassMainWorldCSP(false) {} |
}; |
virtual WebNavigationPolicy decidePolicyForNavigation( |