Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(761)

Side by Side Diff: Source/core/loader/FrameLoaderClient.h

Issue 15179002: Remove code that is unused after ContextMenu cleanup (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove canHandleRequest code from DRT Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/core/page/Page.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/core/page/Page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698