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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 namespace v8 { | 42 namespace v8 { |
43 class Context; | 43 class Context; |
44 template<class T> class Handle; | 44 template<class T> class Handle; |
45 } | 45 } |
46 | 46 |
47 namespace blink { | 47 namespace blink { |
48 class WebCookieJar; | 48 class WebCookieJar; |
49 class WebRTCPeerConnectionHandler; | 49 class WebRTCPeerConnectionHandler; |
50 class WebServiceWorkerProvider; | 50 class WebServiceWorkerProvider; |
51 class WebServiceWorkerProviderClient; | 51 class WebServiceWorkerProviderClient; |
| 52 class WebSocketHandle; |
52 class WebApplicationCacheHost; | 53 class WebApplicationCacheHost; |
53 class WebApplicationCacheHostClient; | 54 class WebApplicationCacheHostClient; |
54 } | 55 } |
55 | 56 |
56 namespace WebCore { | 57 namespace WebCore { |
57 | 58 |
58 class Color; | 59 class Color; |
59 class Dictionary; | 60 class Dictionary; |
60 class DOMWindowExtension; | 61 class DOMWindowExtension; |
61 class DOMWrapperWorld; | 62 class DOMWrapperWorld; |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 virtual void didNotAllowPlugins() { } | 198 virtual void didNotAllowPlugins() { } |
198 | 199 |
199 virtual blink::WebCookieJar* cookieJar() const = 0; | 200 virtual blink::WebCookieJar* cookieJar() const = 0; |
200 | 201 |
201 // Returns true if the embedder intercepted the postMessage call | 202 // Returns true if the embedder intercepted the postMessage call |
202 virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin* /*target*/
, MessageEvent*) const { return false; } | 203 virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin* /*target*/
, MessageEvent*) const { return false; } |
203 | 204 |
204 virtual void didChangeName(const String&) { } | 205 virtual void didChangeName(const String&) { } |
205 | 206 |
206 virtual void dispatchWillOpenSocketStream(SocketStreamHandle*) { } | 207 virtual void dispatchWillOpenSocketStream(SocketStreamHandle*) { } |
| 208 virtual void dispatchWillOpenWebSocket(blink::WebSocketHandle*) { } |
207 | 209 |
208 virtual void dispatchWillStartUsingPeerConnectionHandler(blink::WebRTCPe
erConnectionHandler*) { } | 210 virtual void dispatchWillStartUsingPeerConnectionHandler(blink::WebRTCPe
erConnectionHandler*) { } |
209 | 211 |
210 virtual void didRequestAutocomplete(HTMLFormElement*, const Dictionary&)
= 0; | 212 virtual void didRequestAutocomplete(HTMLFormElement*, const Dictionary&)
= 0; |
211 | 213 |
212 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSett
ings; } | 214 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSett
ings; } |
213 // 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 |
214 // 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). |
215 virtual void didLoseWebGLContext(int) { } | 217 virtual void didLoseWebGLContext(int) { } |
216 | 218 |
(...skipping 11 matching lines...) Expand all Loading... |
228 virtual void didStopAllLoaders() { } | 230 virtual void didStopAllLoaders() { } |
229 | 231 |
230 virtual void dispatchDidChangeManifest() { } | 232 virtual void dispatchDidChangeManifest() { } |
231 | 233 |
232 virtual bool isFrameLoaderClientImpl() const { return false; } | 234 virtual bool isFrameLoaderClientImpl() const { return false; } |
233 }; | 235 }; |
234 | 236 |
235 } // namespace WebCore | 237 } // namespace WebCore |
236 | 238 |
237 #endif // FrameLoaderClient_h | 239 #endif // FrameLoaderClient_h |
OLD | NEW |