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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 virtual PassOwnPtr<WebServiceWorkerProvider> createServiceWorkerProvider() =
0; | 224 virtual PassOwnPtr<WebServiceWorkerProvider> createServiceWorkerProvider() =
0; |
225 | 225 |
226 virtual bool isControlledByServiceWorker(DocumentLoader&) = 0; | 226 virtual bool isControlledByServiceWorker(DocumentLoader&) = 0; |
227 | 227 |
228 virtual int64_t serviceWorkerID(DocumentLoader&) = 0; | 228 virtual int64_t serviceWorkerID(DocumentLoader&) = 0; |
229 | 229 |
230 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() { retur
n 0; } | 230 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() { retur
n 0; } |
231 | 231 |
232 virtual PassOwnPtr<WebApplicationCacheHost> createApplicationCacheHost(WebAp
plicationCacheHostClient*) = 0; | 232 virtual PassOwnPtr<WebApplicationCacheHost> createApplicationCacheHost(WebAp
plicationCacheHostClient*) = 0; |
233 | 233 |
234 virtual void didStopAllLoaders() { } | |
235 | |
236 virtual void dispatchDidChangeManifest() { } | 234 virtual void dispatchDidChangeManifest() { } |
237 | 235 |
238 virtual unsigned backForwardLength() { return 0; } | 236 virtual unsigned backForwardLength() { return 0; } |
239 | 237 |
240 virtual bool isFrameLoaderClientImpl() const { return false; } | 238 virtual bool isFrameLoaderClientImpl() const { return false; } |
241 | 239 |
242 // Called when elements preventing the sudden termination of the frame | 240 // Called when elements preventing the sudden termination of the frame |
243 // become present or stop being present. |type| is the type of element | 241 // become present or stop being present. |type| is the type of element |
244 // (BeforeUnload handler, Unload handler). | 242 // (BeforeUnload handler, Unload handler). |
245 enum SuddenTerminationDisablerType { | 243 enum SuddenTerminationDisablerType { |
246 BeforeUnloadHandler, | 244 BeforeUnloadHandler, |
247 UnloadHandler, | 245 UnloadHandler, |
248 }; | 246 }; |
249 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } | 247 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } |
250 | 248 |
251 }; | 249 }; |
252 | 250 |
253 } // namespace blink | 251 } // namespace blink |
254 | 252 |
255 #endif // FrameLoaderClient_h | 253 #endif // FrameLoaderClient_h |
OLD | NEW |