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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 | 212 |
213 virtual void dispatchWillStartUsingPeerConnectionHandler(RTCPeerConnecti
onHandler*) { } | 213 virtual void dispatchWillStartUsingPeerConnectionHandler(RTCPeerConnecti
onHandler*) { } |
214 | 214 |
215 virtual void didRequestAutocomplete(PassRefPtr<FormState>) = 0; | 215 virtual void didRequestAutocomplete(PassRefPtr<FormState>) = 0; |
216 | 216 |
217 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSett
ings; } | 217 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSett
ings; } |
218 // Informs the embedder that a WebGL canvas inside this frame received a
lost context | 218 // Informs the embedder that a WebGL canvas inside this frame received a
lost context |
219 // notification with the given GL_ARB_robustness guilt/innocence code (s
ee Extensions3D.h). | 219 // notification with the given GL_ARB_robustness guilt/innocence code (s
ee Extensions3D.h). |
220 virtual void didLoseWebGLContext(int) { } | 220 virtual void didLoseWebGLContext(int) { } |
221 | 221 |
| 222 // Returns true if WebGL extension WEBGL_debug_renderer_info is allowed. |
| 223 virtual bool allowWebGLDebugRendererInfo() { return false; } |
| 224 |
222 // If an HTML document is being loaded, informs the embedder that the do
cument will have its <body> attached soon. | 225 // If an HTML document is being loaded, informs the embedder that the do
cument will have its <body> attached soon. |
223 virtual void dispatchWillInsertBody() { } | 226 virtual void dispatchWillInsertBody() { } |
224 | 227 |
225 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie
r*/, ResourceLoadPriority) { } | 228 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie
r*/, ResourceLoadPriority) { } |
226 | 229 |
227 virtual PassOwnPtr<WebKit::WebServiceWorkerProvider> createServiceWorker
Provider(PassOwnPtr<WebKit::WebServiceWorkerProviderClient>) = 0; | 230 virtual PassOwnPtr<WebKit::WebServiceWorkerProvider> createServiceWorker
Provider(PassOwnPtr<WebKit::WebServiceWorkerProviderClient>) = 0; |
228 | 231 |
229 virtual void didStopAllLoaders() { } | 232 virtual void didStopAllLoaders() { } |
230 | 233 |
231 virtual bool isFrameLoaderClientImpl() const { return false; } | 234 virtual bool isFrameLoaderClientImpl() const { return false; } |
232 }; | 235 }; |
233 | 236 |
234 } // namespace WebCore | 237 } // namespace WebCore |
235 | 238 |
236 #endif // FrameLoaderClient_h | 239 #endif // FrameLoaderClient_h |
OLD | NEW |