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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 | 208 |
209 // If an HTML document is being loaded, informs the embedder that the do
cument will have its <body> attached soon. | 209 // If an HTML document is being loaded, informs the embedder that the do
cument will have its <body> attached soon. |
210 virtual void dispatchWillInsertBody() { } | 210 virtual void dispatchWillInsertBody() { } |
211 | 211 |
212 virtual void dispatchDidChangeResourcePriority(unsigned long identifier,
ResourceLoadPriority, int intraPriorityValue) { } | 212 virtual void dispatchDidChangeResourcePriority(unsigned long identifier,
ResourceLoadPriority, int intraPriorityValue) { } |
213 | 213 |
214 virtual PassOwnPtr<WebServiceWorkerProvider> createServiceWorkerProvider
() = 0; | 214 virtual PassOwnPtr<WebServiceWorkerProvider> createServiceWorkerProvider
() = 0; |
215 | 215 |
216 virtual bool isControlledByServiceWorker(DocumentLoader&) = 0; | 216 virtual bool isControlledByServiceWorker(DocumentLoader&) = 0; |
217 | 217 |
218 virtual int64_t serviceWorkerID(DocumentLoader&) = 0; | 218 virtual std::string serviceWorkerID(DocumentLoader&) = 0; |
219 | 219 |
220 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() { r
eturn 0; } | 220 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() { r
eturn 0; } |
221 | 221 |
222 virtual PassOwnPtr<WebApplicationCacheHost> createApplicationCacheHost(W
ebApplicationCacheHostClient*) = 0; | 222 virtual PassOwnPtr<WebApplicationCacheHost> createApplicationCacheHost(W
ebApplicationCacheHostClient*) = 0; |
223 | 223 |
224 virtual void didStopAllLoaders() { } | 224 virtual void didStopAllLoaders() { } |
225 | 225 |
226 virtual void dispatchDidChangeManifest() { } | 226 virtual void dispatchDidChangeManifest() { } |
227 | 227 |
228 virtual void dispatchDidChangeDefaultPresentation() { } | 228 virtual void dispatchDidChangeDefaultPresentation() { } |
229 | 229 |
230 virtual unsigned backForwardLength() { return 0; } | 230 virtual unsigned backForwardLength() { return 0; } |
231 | 231 |
232 virtual bool isFrameLoaderClientImpl() const { return false; } | 232 virtual bool isFrameLoaderClientImpl() const { return false; } |
233 | 233 |
234 // Called when elements preventing the sudden termination of the frame | 234 // Called when elements preventing the sudden termination of the frame |
235 // become present or stop being present. |type| is the type of element | 235 // become present or stop being present. |type| is the type of element |
236 // (BeforeUnload handler, Unload handler). | 236 // (BeforeUnload handler, Unload handler). |
237 enum SuddenTerminationDisablerType { | 237 enum SuddenTerminationDisablerType { |
238 BeforeUnloadHandler, | 238 BeforeUnloadHandler, |
239 UnloadHandler, | 239 UnloadHandler, |
240 }; | 240 }; |
241 virtual void suddenTerminationDisablerChanged(bool present, SuddenTermin
ationDisablerType) { } | 241 virtual void suddenTerminationDisablerChanged(bool present, SuddenTermin
ationDisablerType) { } |
242 | 242 |
243 }; | 243 }; |
244 | 244 |
245 } // namespace blink | 245 } // namespace blink |
246 | 246 |
247 #endif // FrameLoaderClient_h | 247 #endif // FrameLoaderClient_h |
OLD | NEW |