| 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 | 215 |
| 216 virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) { } | 216 virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) { } |
| 217 | 217 |
| 218 virtual void dispatchWillOpenWebSocket(WebSocketHandle*) { } | 218 virtual void dispatchWillOpenWebSocket(WebSocketHandle*) { } |
| 219 | 219 |
| 220 virtual void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectio
nHandler*) { } | 220 virtual void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectio
nHandler*) { } |
| 221 | 221 |
| 222 virtual void didRequestAutocomplete(HTMLFormElement*) = 0; | 222 virtual void didRequestAutocomplete(HTMLFormElement*) = 0; |
| 223 | 223 |
| 224 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSettings
; } | 224 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSettings
; } |
| 225 // Informs the embedder that a WebGL canvas inside this frame received a los
t context | |
| 226 // notification with the given GL_ARB_robustness guilt/innocence code (see E
xtensions3D.h). | |
| 227 virtual void didLoseWebGLContext(int) { } | |
| 228 | 225 |
| 229 // If an HTML document is being loaded, informs the embedder that the docume
nt will have its <body> attached soon. | 226 // If an HTML document is being loaded, informs the embedder that the docume
nt will have its <body> attached soon. |
| 230 virtual void dispatchWillInsertBody() { } | 227 virtual void dispatchWillInsertBody() { } |
| 231 | 228 |
| 232 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, Res
ourceLoadPriority, int intraPriorityValue) { } | 229 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, Res
ourceLoadPriority, int intraPriorityValue) { } |
| 233 | 230 |
| 234 virtual PassOwnPtr<WebServiceWorkerProvider> createServiceWorkerProvider() =
0; | 231 virtual PassOwnPtr<WebServiceWorkerProvider> createServiceWorkerProvider() =
0; |
| 235 | 232 |
| 236 virtual bool isControlledByServiceWorker(DocumentLoader&) = 0; | 233 virtual bool isControlledByServiceWorker(DocumentLoader&) = 0; |
| 237 | 234 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 255 UnloadHandler, | 252 UnloadHandler, |
| 256 }; | 253 }; |
| 257 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } | 254 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } |
| 258 | 255 |
| 259 virtual LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) { re
turn nullptr; } | 256 virtual LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) { re
turn nullptr; } |
| 260 }; | 257 }; |
| 261 | 258 |
| 262 } // namespace blink | 259 } // namespace blink |
| 263 | 260 |
| 264 #endif // FrameLoaderClient_h | 261 #endif // FrameLoaderClient_h |
| OLD | NEW |