OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. |
3 * Copyright (C) 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2012 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) { } | 225 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) { } |
226 | 226 |
227 // Called when a new Content Security Policy is added to the frame's | 227 // Called when a new Content Security Policy is added to the frame's |
228 // document. This can be triggered by handling of HTTP headers, handling | 228 // document. This can be triggered by handling of HTTP headers, handling |
229 // of <meta> element, or by inheriting CSP from the parent (in case of | 229 // of <meta> element, or by inheriting CSP from the parent (in case of |
230 // about:blank). | 230 // about:blank). |
231 virtual void didAddContentSecurityPolicy(const String& headerValue, ContentS
ecurityPolicyHeaderType, ContentSecurityPolicyHeaderSource) { } | 231 virtual void didAddContentSecurityPolicy(const String& headerValue, ContentS
ecurityPolicyHeaderType, ContentSecurityPolicyHeaderSource) { } |
232 | 232 |
233 virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) { } | 233 virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) { } |
234 | 234 |
235 virtual void dispatchWillOpenWebSocket(WebSocketHandle*) { } | |
236 | |
237 virtual void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectio
nHandler*) { } | 235 virtual void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectio
nHandler*) { } |
238 | 236 |
239 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSettings
; } | 237 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSettings
; } |
240 | 238 |
241 // If an HTML document is being loaded, informs the embedder that the docume
nt will have its <body> attached soon. | 239 // If an HTML document is being loaded, informs the embedder that the docume
nt will have its <body> attached soon. |
242 virtual void dispatchWillInsertBody() { } | 240 virtual void dispatchWillInsertBody() { } |
243 | 241 |
244 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, Res
ourceLoadPriority, int intraPriorityValue) { } | 242 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, Res
ourceLoadPriority, int intraPriorityValue) { } |
245 | 243 |
246 virtual std::unique_ptr<WebServiceWorkerProvider> createServiceWorkerProvide
r() = 0; | 244 virtual std::unique_ptr<WebServiceWorkerProvider> createServiceWorkerProvide
r() = 0; |
(...skipping 27 matching lines...) Expand all Loading... |
274 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web
EffectiveConnectionType::TypeUnknown; } | 272 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web
EffectiveConnectionType::TypeUnknown; } |
275 | 273 |
276 // Overwrites the given URL to use an HTML5 embed if possible. | 274 // Overwrites the given URL to use an HTML5 embed if possible. |
277 // An empty URL is returned if the URL is not overriden. | 275 // An empty URL is returned if the URL is not overriden. |
278 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } | 276 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } |
279 }; | 277 }; |
280 | 278 |
281 } // namespace blink | 279 } // namespace blink |
282 | 280 |
283 #endif // FrameLoaderClient_h | 281 #endif // FrameLoaderClient_h |
OLD | NEW |