| 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 31919e7d86acd39f19a9f51d9be18175eac62761..198d6c0dac541ab6a6c47afd1fbffa4da29cdee2 100644
|
| --- a/third_party/WebKit/public/web/WebLocalFrame.h
|
| +++ b/third_party/WebKit/public/web/WebLocalFrame.h
|
| @@ -35,6 +35,7 @@ enum class WebCachePolicy;
|
| enum class WebSandboxFlags;
|
| enum class WebTreeScopeType;
|
| struct WebConsoleMessage;
|
| +struct WebContentSecurityPolicyViolation;
|
| struct WebFindOptions;
|
| struct WebFloatRect;
|
| struct WebPrintPresetOptions;
|
| @@ -152,6 +153,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 contentSecurityPolicyViolation(
|
| + const blink::WebContentSecurityPolicyViolation&) = 0;
|
| +
|
| // Navigation State -------------------------------------------------------
|
|
|
| // Returns true if the current frame's load event has not completed.
|
|
|