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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 virtual void detachedFromParent() = 0; | 94 virtual void detachedFromParent() = 0; |
95 | 95 |
96 virtual void dispatchWillRequestAfterPreconnect(ResourceRequest&) { } | 96 virtual void dispatchWillRequestAfterPreconnect(ResourceRequest&) { } |
97 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long iden
tifier, ResourceRequest&, const ResourceResponse& redirectResponse) = 0; | 97 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long iden
tifier, ResourceRequest&, const ResourceResponse& redirectResponse) = 0; |
98 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long i
dentifier, const ResourceResponse&) = 0; | 98 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long i
dentifier, const ResourceResponse&) = 0; |
99 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long ide
ntifier) = 0; | 99 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long ide
ntifier) = 0; |
100 virtual void dispatchDidLoadResourceFromMemoryCache(DocumentLoader*, con
st ResourceRequest&, const ResourceResponse&, int length) = 0; | 100 virtual void dispatchDidLoadResourceFromMemoryCache(DocumentLoader*, con
st ResourceRequest&, const ResourceResponse&, int length) = 0; |
101 | 101 |
102 virtual void dispatchDidHandleOnloadEvents() = 0; | 102 virtual void dispatchDidHandleOnloadEvents() = 0; |
103 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0; | 103 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0; |
104 virtual void dispatchDidCompleteClientRedirect(const KURL&) { } | |
105 virtual void dispatchDidNavigateWithinPage() { } | 104 virtual void dispatchDidNavigateWithinPage() { } |
106 virtual void dispatchDidChangeLocationWithinPage() = 0; | 105 virtual void dispatchDidChangeLocationWithinPage() = 0; |
107 virtual void dispatchWillClose() = 0; | 106 virtual void dispatchWillClose() = 0; |
108 virtual void dispatchDidStartProvisionalLoad() = 0; | 107 virtual void dispatchDidStartProvisionalLoad() = 0; |
109 virtual void dispatchDidReceiveTitle(const StringWithDirection&) = 0; | 108 virtual void dispatchDidReceiveTitle(const StringWithDirection&) = 0; |
110 virtual void dispatchDidChangeIcons(IconType) = 0; | 109 virtual void dispatchDidChangeIcons(IconType) = 0; |
111 virtual void dispatchDidCommitLoad() = 0; | 110 virtual void dispatchDidCommitLoad() = 0; |
112 virtual void dispatchDidFailProvisionalLoad(const ResourceError&) = 0; | 111 virtual void dispatchDidFailProvisionalLoad(const ResourceError&) = 0; |
113 virtual void dispatchDidFailLoad(const ResourceError&) = 0; | 112 virtual void dispatchDidFailLoad(const ResourceError&) = 0; |
114 virtual void dispatchDidFinishDocumentLoad() = 0; | 113 virtual void dispatchDidFinishDocumentLoad() = 0; |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 | 216 |
218 // If an HTML document is being loaded, informs the embedder that the do
cument will have its <body> attached soon. | 217 // If an HTML document is being loaded, informs the embedder that the do
cument will have its <body> attached soon. |
219 virtual void dispatchWillInsertBody() { } | 218 virtual void dispatchWillInsertBody() { } |
220 | 219 |
221 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie
r*/, ResourceLoadPriority) { } | 220 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie
r*/, ResourceLoadPriority) { } |
222 }; | 221 }; |
223 | 222 |
224 } // namespace WebCore | 223 } // namespace WebCore |
225 | 224 |
226 #endif // FrameLoaderClient_h | 225 #endif // FrameLoaderClient_h |
OLD | NEW |