| 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 5f784502a7c1bf932afe2738f2a0193112ea0f8b..ac937bc048a71b5db443e0b86821c591de7889a4 100644
|
| --- a/third_party/WebKit/public/web/WebFrameClient.h
|
| +++ b/third_party/WebKit/public/web/WebFrameClient.h
|
| @@ -57,6 +57,7 @@
|
| #include "public/platform/WebStorageQuotaType.h"
|
| #include "public/platform/WebURLError.h"
|
| #include "public/platform/WebURLRequest.h"
|
| +#include "public/web/WebContentSecurityPolicy.h"
|
| #include <v8.h>
|
|
|
| namespace blink {
|
| @@ -197,6 +198,12 @@ public:
|
| // The sandbox flags have changed for a child frame of this frame.
|
| virtual void didChangeSandboxFlags(WebFrame* childFrame, WebSandboxFlags flags) { }
|
|
|
| + // Called when a new Content Security Policy is added to the frame's
|
| + // document. This can be triggered by handling of HTTP headers, handling
|
| + // of <meta> element, or by inheriting CSP from the parent (in case of
|
| + // about:blank).
|
| + virtual void didAddContentSecurityPolicy(const WebString& headerValue, WebContentSecurityPolicyType, WebContentSecurityPolicySource) { }
|
| +
|
| // Some frame owner properties have changed for a child frame of this frame.
|
| // Frame owner properties currently include: scrolling, marginwidth and
|
| // marginheight.
|
|
|