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