| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 #include "wtf/Vector.h" | 52 #include "wtf/Vector.h" |
| 53 #include <memory> | 53 #include <memory> |
| 54 #include <v8.h> | 54 #include <v8.h> |
| 55 | 55 |
| 56 namespace blink { | 56 namespace blink { |
| 57 | 57 |
| 58 class Document; | 58 class Document; |
| 59 class DocumentLoader; | 59 class DocumentLoader; |
| 60 struct FrameLoadRequest; | 60 struct FrameLoadRequest; |
| 61 class HTMLFormElement; | 61 class HTMLFormElement; |
| 62 class HTMLFrameElementBase; | |
| 63 class HTMLFrameOwnerElement; | 62 class HTMLFrameOwnerElement; |
| 64 class HTMLMediaElement; | 63 class HTMLMediaElement; |
| 65 class HTMLPlugInElement; | 64 class HTMLPlugInElement; |
| 66 class HistoryItem; | 65 class HistoryItem; |
| 67 class KURL; | 66 class KURL; |
| 68 class LocalFrame; | 67 class LocalFrame; |
| 69 class ResourceError; | 68 class ResourceError; |
| 70 class ResourceRequest; | 69 class ResourceRequest; |
| 71 class ResourceResponse; | 70 class ResourceResponse; |
| 72 class ScriptState; | 71 class ScriptState; |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 | 277 |
| 279 virtual void didSetFeaturePolicyHeader(const String& headerValue) {} | 278 virtual void didSetFeaturePolicyHeader(const String& headerValue) {} |
| 280 | 279 |
| 281 // Called when a new Content Security Policy is added to the frame's document. | 280 // 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> | 281 // 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). | 282 // element, or by inheriting CSP from the parent (in case of about:blank). |
| 284 virtual void didAddContentSecurityPolicy(const String& headerValue, | 283 virtual void didAddContentSecurityPolicy(const String& headerValue, |
| 285 ContentSecurityPolicyHeaderType, | 284 ContentSecurityPolicyHeaderType, |
| 286 ContentSecurityPolicyHeaderSource) {} | 285 ContentSecurityPolicyHeaderSource) {} |
| 287 | 286 |
| 288 virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) {} | 287 virtual void didChangeFrameOwnerProperties(HTMLFrameOwnerElement*) {} |
| 289 | 288 |
| 290 virtual void dispatchWillStartUsingPeerConnectionHandler( | 289 virtual void dispatchWillStartUsingPeerConnectionHandler( |
| 291 WebRTCPeerConnectionHandler*) {} | 290 WebRTCPeerConnectionHandler*) {} |
| 292 | 291 |
| 293 virtual bool allowWebGL(bool enabledPerSettings) { | 292 virtual bool allowWebGL(bool enabledPerSettings) { |
| 294 return enabledPerSettings; | 293 return enabledPerSettings; |
| 295 } | 294 } |
| 296 | 295 |
| 297 // If an HTML document is being loaded, informs the embedder that the document | 296 // If an HTML document is being loaded, informs the embedder that the document |
| 298 // will have its <body> attached soon. | 297 // will have its <body> attached soon. |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 } | 338 } |
| 340 | 339 |
| 341 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is | 340 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is |
| 342 // returned if the URL is not overriden. | 341 // returned if the URL is not overriden. |
| 343 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } | 342 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } |
| 344 }; | 343 }; |
| 345 | 344 |
| 346 } // namespace blink | 345 } // namespace blink |
| 347 | 346 |
| 348 #endif // FrameLoaderClient_h | 347 #endif // FrameLoaderClient_h |
| OLD | NEW |