| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 virtual void frameLoaderDestroyed() = 0; | 89 virtual void frameLoaderDestroyed() = 0; |
| 90 | 90 |
| 91 virtual bool hasWebView() const = 0; // mainly for assertions | 91 virtual bool hasWebView() const = 0; // mainly for assertions |
| 92 | 92 |
| 93 virtual void detachedFromParent() = 0; | 93 virtual void detachedFromParent() = 0; |
| 94 | 94 |
| 95 virtual void dispatchWillRequestAfterPreconnect(ResourceRequest&) { } | 95 virtual void dispatchWillRequestAfterPreconnect(ResourceRequest&) { } |
| 96 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long iden
tifier, ResourceRequest&, const ResourceResponse& redirectResponse) = 0; | 96 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long iden
tifier, ResourceRequest&, const ResourceResponse& redirectResponse) = 0; |
| 97 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long i
dentifier, const ResourceResponse&) = 0; | 97 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long i
dentifier, const ResourceResponse&) = 0; |
| 98 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long ide
ntifier) = 0; | 98 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long ide
ntifier) = 0; |
| 99 virtual void dispatchDidLoadResourceFromMemoryCache(DocumentLoader*, con
st ResourceRequest&, const ResourceResponse&, int length) = 0; | 99 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceReques
t&, const ResourceResponse&) = 0; |
| 100 | 100 |
| 101 virtual void dispatchDidHandleOnloadEvents() = 0; | 101 virtual void dispatchDidHandleOnloadEvents() = 0; |
| 102 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0; | 102 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0; |
| 103 virtual void dispatchDidNavigateWithinPage() { } | 103 virtual void dispatchDidNavigateWithinPage() { } |
| 104 virtual void dispatchWillClose() = 0; | 104 virtual void dispatchWillClose() = 0; |
| 105 virtual void dispatchDidStartProvisionalLoad() = 0; | 105 virtual void dispatchDidStartProvisionalLoad() = 0; |
| 106 virtual void dispatchDidReceiveTitle(const String&) = 0; | 106 virtual void dispatchDidReceiveTitle(const String&) = 0; |
| 107 virtual void dispatchDidChangeIcons(IconType) = 0; | 107 virtual void dispatchDidChangeIcons(IconType) = 0; |
| 108 virtual void dispatchDidCommitLoad() = 0; | 108 virtual void dispatchDidCommitLoad() = 0; |
| 109 virtual void dispatchDidFailProvisionalLoad(const ResourceError&) = 0; | 109 virtual void dispatchDidFailProvisionalLoad(const ResourceError&) = 0; |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 | 212 |
| 213 // If an HTML document is being loaded, informs the embedder that the do
cument will have its <body> attached soon. | 213 // If an HTML document is being loaded, informs the embedder that the do
cument will have its <body> attached soon. |
| 214 virtual void dispatchWillInsertBody() { } | 214 virtual void dispatchWillInsertBody() { } |
| 215 | 215 |
| 216 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie
r*/, ResourceLoadPriority) { } | 216 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie
r*/, ResourceLoadPriority) { } |
| 217 }; | 217 }; |
| 218 | 218 |
| 219 } // namespace WebCore | 219 } // namespace WebCore |
| 220 | 220 |
| 221 #endif // FrameLoaderClient_h | 221 #endif // FrameLoaderClient_h |
| OLD | NEW |