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