| 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 virtual void dispatchDidCancelAuthenticationChallenge(DocumentLoader*, u
nsigned long identifier, const AuthenticationChallenge&) = 0; | 137 virtual void dispatchDidCancelAuthenticationChallenge(DocumentLoader*, u
nsigned long identifier, const AuthenticationChallenge&) = 0; |
| 138 #if USE(PROTECTION_SPACE_AUTH_CALLBACK) | 138 #if USE(PROTECTION_SPACE_AUTH_CALLBACK) |
| 139 virtual bool canAuthenticateAgainstProtectionSpace(DocumentLoader*, unsi
gned long identifier, const ProtectionSpace&) = 0; | 139 virtual bool canAuthenticateAgainstProtectionSpace(DocumentLoader*, unsi
gned long identifier, const ProtectionSpace&) = 0; |
| 140 #endif | 140 #endif |
| 141 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long i
dentifier, const ResourceResponse&) = 0; | 141 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long i
dentifier, const ResourceResponse&) = 0; |
| 142 virtual void dispatchDidReceiveContentLength(DocumentLoader*, unsigned l
ong identifier, int dataLength) = 0; | 142 virtual void dispatchDidReceiveContentLength(DocumentLoader*, unsigned l
ong identifier, int dataLength) = 0; |
| 143 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long ide
ntifier) = 0; | 143 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long ide
ntifier) = 0; |
| 144 virtual void dispatchDidFailLoading(DocumentLoader*, unsigned long ident
ifier, const ResourceError&) = 0; | 144 virtual void dispatchDidFailLoading(DocumentLoader*, unsigned long ident
ifier, const ResourceError&) = 0; |
| 145 virtual bool dispatchDidLoadResourceFromMemoryCache(DocumentLoader*, con
st ResourceRequest&, const ResourceResponse&, int length) = 0; | 145 virtual bool dispatchDidLoadResourceFromMemoryCache(DocumentLoader*, con
st ResourceRequest&, const ResourceResponse&, int length) = 0; |
| 146 | 146 |
| 147 virtual void dispatchWillHandleOnloadEvents() = 0; |
| 147 virtual void dispatchDidHandleOnloadEvents() = 0; | 148 virtual void dispatchDidHandleOnloadEvents() = 0; |
| 148 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0; | 149 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0; |
| 149 virtual void dispatchDidCancelClientRedirect() = 0; | 150 virtual void dispatchDidCancelClientRedirect() = 0; |
| 150 virtual void dispatchWillPerformClientRedirect(const KURL&, double inter
val, double fireDate) = 0; | 151 virtual void dispatchWillPerformClientRedirect(const KURL&, double inter
val, double fireDate) = 0; |
| 151 virtual void dispatchDidNavigateWithinPage() { } | 152 virtual void dispatchDidNavigateWithinPage() { } |
| 152 virtual void dispatchDidChangeLocationWithinPage() = 0; | 153 virtual void dispatchDidChangeLocationWithinPage() = 0; |
| 153 virtual void dispatchDidPushStateWithinPage() = 0; | 154 virtual void dispatchDidPushStateWithinPage() = 0; |
| 154 virtual void dispatchDidReplaceStateWithinPage() = 0; | 155 virtual void dispatchDidReplaceStateWithinPage() = 0; |
| 155 virtual void dispatchDidPopStateWithinPage() = 0; | 156 virtual void dispatchDidPopStateWithinPage() = 0; |
| 156 virtual void dispatchWillClose() = 0; | 157 virtual void dispatchWillClose() = 0; |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 | 371 |
| 371 // If an HTML document is being loaded, informs the embedder that the do
cument will have its <body> attached soon. | 372 // If an HTML document is being loaded, informs the embedder that the do
cument will have its <body> attached soon. |
| 372 virtual void dispatchWillInsertBody() { } | 373 virtual void dispatchWillInsertBody() { } |
| 373 | 374 |
| 374 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie
r*/, ResourceLoadPriority) { } | 375 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie
r*/, ResourceLoadPriority) { } |
| 375 }; | 376 }; |
| 376 | 377 |
| 377 } // namespace WebCore | 378 } // namespace WebCore |
| 378 | 379 |
| 379 #endif // FrameLoaderClient_h | 380 #endif // FrameLoaderClient_h |
| OLD | NEW |