| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 class WebRTCPeerConnectionHandler; | 49 class WebRTCPeerConnectionHandler; |
| 50 class WebServiceWorkerProvider; | 50 class WebServiceWorkerProvider; |
| 51 class WebServiceWorkerProviderClient; | 51 class WebServiceWorkerProviderClient; |
| 52 class WebApplicationCacheHost; | 52 class WebApplicationCacheHost; |
| 53 class WebApplicationCacheHostClient; | 53 class WebApplicationCacheHostClient; |
| 54 } | 54 } |
| 55 | 55 |
| 56 namespace WebCore { | 56 namespace WebCore { |
| 57 | 57 |
| 58 class Color; | 58 class Color; |
| 59 class Dictionary; | |
| 60 class DOMWindowExtension; | 59 class DOMWindowExtension; |
| 61 class DOMWrapperWorld; | 60 class DOMWrapperWorld; |
| 62 class DocumentLoader; | 61 class DocumentLoader; |
| 63 class Element; | 62 class Element; |
| 64 class FetchRequest; | 63 class FetchRequest; |
| 65 class FrameLoader; | 64 class FrameLoader; |
| 66 class FrameNetworkingContext; | 65 class FrameNetworkingContext; |
| 67 class HTMLAppletElement; | 66 class HTMLAppletElement; |
| 68 class HTMLFormElement; | 67 class HTMLFormElement; |
| 69 class HTMLFrameOwnerElement; | 68 class HTMLFrameOwnerElement; |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 | 199 |
| 201 // Returns true if the embedder intercepted the postMessage call | 200 // Returns true if the embedder intercepted the postMessage call |
| 202 virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin* /*target*/
, MessageEvent*) const { return false; } | 201 virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin* /*target*/
, MessageEvent*) const { return false; } |
| 203 | 202 |
| 204 virtual void didChangeName(const String&) { } | 203 virtual void didChangeName(const String&) { } |
| 205 | 204 |
| 206 virtual void dispatchWillOpenSocketStream(SocketStreamHandle*) { } | 205 virtual void dispatchWillOpenSocketStream(SocketStreamHandle*) { } |
| 207 | 206 |
| 208 virtual void dispatchWillStartUsingPeerConnectionHandler(blink::WebRTCPe
erConnectionHandler*) { } | 207 virtual void dispatchWillStartUsingPeerConnectionHandler(blink::WebRTCPe
erConnectionHandler*) { } |
| 209 | 208 |
| 210 virtual void didRequestAutocomplete(HTMLFormElement*, const Dictionary&)
= 0; | 209 virtual void didRequestAutocomplete(HTMLFormElement*) = 0; |
| 211 | 210 |
| 212 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSett
ings; } | 211 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSett
ings; } |
| 213 // Informs the embedder that a WebGL canvas inside this frame received a
lost context | 212 // Informs the embedder that a WebGL canvas inside this frame received a
lost context |
| 214 // notification with the given GL_ARB_robustness guilt/innocence code (s
ee Extensions3D.h). | 213 // notification with the given GL_ARB_robustness guilt/innocence code (s
ee Extensions3D.h). |
| 215 virtual void didLoseWebGLContext(int) { } | 214 virtual void didLoseWebGLContext(int) { } |
| 216 | 215 |
| 217 // If an HTML document is being loaded, informs the embedder that the do
cument will have its <body> attached soon. | 216 // If an HTML document is being loaded, informs the embedder that the do
cument will have its <body> attached soon. |
| 218 virtual void dispatchWillInsertBody() { } | 217 virtual void dispatchWillInsertBody() { } |
| 219 | 218 |
| 220 virtual void dispatchDidChangeResourcePriority(unsigned long identifier,
ResourceLoadPriority, int intraPriorityValue) { } | 219 virtual void dispatchDidChangeResourcePriority(unsigned long identifier,
ResourceLoadPriority, int intraPriorityValue) { } |
| 221 | 220 |
| 222 virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerP
rovider() = 0; | 221 virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerP
rovider() = 0; |
| 223 | 222 |
| 224 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() { r
eturn 0; } | 223 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() { r
eturn 0; } |
| 225 | 224 |
| 226 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach
eHost(blink::WebApplicationCacheHostClient*) = 0; | 225 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach
eHost(blink::WebApplicationCacheHostClient*) = 0; |
| 227 | 226 |
| 228 virtual void didStopAllLoaders() { } | 227 virtual void didStopAllLoaders() { } |
| 229 | 228 |
| 230 virtual void dispatchDidChangeManifest() { } | 229 virtual void dispatchDidChangeManifest() { } |
| 231 | 230 |
| 232 virtual bool isFrameLoaderClientImpl() const { return false; } | 231 virtual bool isFrameLoaderClientImpl() const { return false; } |
| 233 }; | 232 }; |
| 234 | 233 |
| 235 } // namespace WebCore | 234 } // namespace WebCore |
| 236 | 235 |
| 237 #endif // FrameLoaderClient_h | 236 #endif // FrameLoaderClient_h |
| OLD | NEW |