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