| Index: third_party/WebKit/public/web/WebLocalFrame.h
|
| diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h
|
| index 6d1beeed3363daa3d5c7272f51c45cb47efb6448..2614eea76ce2e6838199da0121341f504d574659 100644
|
| --- a/third_party/WebKit/public/web/WebLocalFrame.h
|
| +++ b/third_party/WebKit/public/web/WebLocalFrame.h
|
| @@ -37,6 +37,7 @@ enum class WebCachePolicy;
|
| enum class WebSandboxFlags;
|
| enum class WebTreeScopeType;
|
| struct WebConsoleMessage;
|
| +struct WebContentSecurityPolicyViolation;
|
| struct WebFindOptions;
|
| struct WebFloatRect;
|
| struct WebPrintPresetOptions;
|
| @@ -154,6 +155,11 @@ class WebLocalFrame : public WebFrame {
|
| // and stop this frame loading.
|
| virtual bool maybeRenderFallbackContent(const WebURLError&) const = 0;
|
|
|
| + // Called when a navigation is blocked because a Content Security Policy (CSP)
|
| + // is infringed.
|
| + virtual void reportContentSecurityPolicyViolation(
|
| + const blink::WebContentSecurityPolicyViolation&) = 0;
|
| +
|
| // Navigation State -------------------------------------------------------
|
|
|
| // Returns true if the current frame's load event has not completed.
|
|
|