| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights |
| 3 * reserved. | 3 * reserved. |
| 4 * Copyright (C) 2012 Google Inc. All rights reserved. | 4 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 #include "core/frame/FrameTypes.h" | 39 #include "core/frame/FrameTypes.h" |
| 40 #include "core/html/LinkResource.h" | 40 #include "core/html/LinkResource.h" |
| 41 #include "core/loader/FrameLoadRequest.h" | 41 #include "core/loader/FrameLoadRequest.h" |
| 42 #include "core/loader/FrameLoaderTypes.h" | 42 #include "core/loader/FrameLoaderTypes.h" |
| 43 #include "core/loader/NavigationPolicy.h" | 43 #include "core/loader/NavigationPolicy.h" |
| 44 #include "platform/heap/Handle.h" | 44 #include "platform/heap/Handle.h" |
| 45 #include "platform/network/ContentSecurityPolicyParsers.h" | 45 #include "platform/network/ContentSecurityPolicyParsers.h" |
| 46 #include "platform/network/ResourceLoadPriority.h" | 46 #include "platform/network/ResourceLoadPriority.h" |
| 47 #include "platform/weborigin/Referrer.h" | 47 #include "platform/weborigin/Referrer.h" |
| 48 #include "public/platform/WebEffectiveConnectionType.h" | 48 #include "public/platform/WebEffectiveConnectionType.h" |
| 49 #include "public/platform/WebFeaturePolicy.h" |
| 49 #include "public/platform/WebInsecureRequestPolicy.h" | 50 #include "public/platform/WebInsecureRequestPolicy.h" |
| 50 #include "public/platform/WebLoadingBehaviorFlag.h" | 51 #include "public/platform/WebLoadingBehaviorFlag.h" |
| 51 #include "wtf/Forward.h" | 52 #include "wtf/Forward.h" |
| 52 #include "wtf/Vector.h" | 53 #include "wtf/Vector.h" |
| 53 #include <memory> | 54 #include <memory> |
| 54 #include <v8.h> | 55 #include <v8.h> |
| 55 | 56 |
| 56 namespace blink { | 57 namespace blink { |
| 57 | 58 |
| 58 class Document; | 59 class Document; |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 virtual WebCookieJar* cookieJar() const = 0; | 270 virtual WebCookieJar* cookieJar() const = 0; |
| 270 | 271 |
| 271 virtual void didChangeName(const String& name, const String& uniqueName) {} | 272 virtual void didChangeName(const String& name, const String& uniqueName) {} |
| 272 | 273 |
| 273 virtual void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) {} | 274 virtual void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) {} |
| 274 | 275 |
| 275 virtual void didUpdateToUniqueOrigin() {} | 276 virtual void didUpdateToUniqueOrigin() {} |
| 276 | 277 |
| 277 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) {} | 278 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) {} |
| 278 | 279 |
| 279 virtual void didSetFeaturePolicyHeader(const String& headerValue) {} | 280 virtual void didSetFeaturePolicyHeader( |
| 281 const WebParsedFeaturePolicy& parsedHeader) {} |
| 280 | 282 |
| 281 // Called when a new Content Security Policy is added to the frame's document. | 283 // Called when a new Content Security Policy is added to the frame's document. |
| 282 // This can be triggered by handling of HTTP headers, handling of <meta> | 284 // This can be triggered by handling of HTTP headers, handling of <meta> |
| 283 // element, or by inheriting CSP from the parent (in case of about:blank). | 285 // element, or by inheriting CSP from the parent (in case of about:blank). |
| 284 virtual void didAddContentSecurityPolicy(const String& headerValue, | 286 virtual void didAddContentSecurityPolicy(const String& headerValue, |
| 285 ContentSecurityPolicyHeaderType, | 287 ContentSecurityPolicyHeaderType, |
| 286 ContentSecurityPolicyHeaderSource) {} | 288 ContentSecurityPolicyHeaderSource) {} |
| 287 | 289 |
| 288 virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) {} | 290 virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) {} |
| 289 | 291 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 } | 341 } |
| 340 | 342 |
| 341 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is | 343 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is |
| 342 // returned if the URL is not overriden. | 344 // returned if the URL is not overriden. |
| 343 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } | 345 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } |
| 344 }; | 346 }; |
| 345 | 347 |
| 346 } // namespace blink | 348 } // namespace blink |
| 347 | 349 |
| 348 #endif // FrameLoaderClient_h | 350 #endif // FrameLoaderClient_h |
| OLD | NEW |