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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 virtual ResourceError cancelledError(const ResourceRequest&) = 0; | 164 virtual ResourceError cancelledError(const ResourceRequest&) = 0; |
165 virtual ResourceError cannotShowURLError(const ResourceRequest&) = 0; | 165 virtual ResourceError cannotShowURLError(const ResourceRequest&) = 0; |
166 virtual ResourceError interruptedForPolicyChangeError(const ResourceRequ
est&) = 0; | 166 virtual ResourceError interruptedForPolicyChangeError(const ResourceRequ
est&) = 0; |
167 | 167 |
168 virtual ResourceError cannotShowMIMETypeError(const ResourceResponse&) =
0; | 168 virtual ResourceError cannotShowMIMETypeError(const ResourceResponse&) =
0; |
169 virtual ResourceError fileDoesNotExistError(const ResourceResponse&) = 0
; | 169 virtual ResourceError fileDoesNotExistError(const ResourceResponse&) = 0
; |
170 virtual ResourceError pluginWillHandleLoadError(const ResourceResponse&)
= 0; | 170 virtual ResourceError pluginWillHandleLoadError(const ResourceResponse&)
= 0; |
171 | 171 |
172 virtual bool shouldFallBack(const ResourceError&) = 0; | 172 virtual bool shouldFallBack(const ResourceError&) = 0; |
173 | 173 |
174 virtual bool canHandleRequest(const ResourceRequest&) const = 0; | |
175 virtual bool canShowMIMEType(const String& MIMEType) const = 0; | 174 virtual bool canShowMIMEType(const String& MIMEType) const = 0; |
176 virtual String generatedMIMETypeForURLScheme(const String& URLScheme) co
nst = 0; | 175 virtual String generatedMIMETypeForURLScheme(const String& URLScheme) co
nst = 0; |
177 | 176 |
178 virtual void didFinishLoad() = 0; | 177 virtual void didFinishLoad() = 0; |
179 | 178 |
180 virtual PassRefPtr<DocumentLoader> createDocumentLoader(const ResourceRe
quest&, const SubstituteData&) = 0; | 179 virtual PassRefPtr<DocumentLoader> createDocumentLoader(const ResourceRe
quest&, const SubstituteData&) = 0; |
181 | 180 |
182 virtual String userAgent(const KURL&) = 0; | 181 virtual String userAgent(const KURL&) = 0; |
183 | 182 |
184 virtual String doNotTrackValue() = 0; | 183 virtual String doNotTrackValue() = 0; |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 | 239 |
241 // If an HTML document is being loaded, informs the embedder that the do
cument will have its <body> attached soon. | 240 // If an HTML document is being loaded, informs the embedder that the do
cument will have its <body> attached soon. |
242 virtual void dispatchWillInsertBody() { } | 241 virtual void dispatchWillInsertBody() { } |
243 | 242 |
244 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie
r*/, ResourceLoadPriority) { } | 243 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie
r*/, ResourceLoadPriority) { } |
245 }; | 244 }; |
246 | 245 |
247 } // namespace WebCore | 246 } // namespace WebCore |
248 | 247 |
249 #endif // FrameLoaderClient_h | 248 #endif // FrameLoaderClient_h |
OLD | NEW |