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

Side by Side Diff: Source/core/loader/EmptyClients.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/inspector/InspectorController.cpp ('k') | Source/core/loader/FrameLoaderClient.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 Eric Seidel (eric@webkit.org) 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org)
3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 virtual ResourceError cancelledError(const ResourceRequest&) OVERRIDE { Reso urceError error("", 0, "", ""); error.setIsCancellation(true); return error; } 240 virtual ResourceError cancelledError(const ResourceRequest&) OVERRIDE { Reso urceError error("", 0, "", ""); error.setIsCancellation(true); return error; }
241 virtual ResourceError cannotShowURLError(const ResourceRequest&) OVERRIDE { return ResourceError("", 0, "", ""); } 241 virtual ResourceError cannotShowURLError(const ResourceRequest&) OVERRIDE { return ResourceError("", 0, "", ""); }
242 virtual ResourceError interruptedForPolicyChangeError(const ResourceRequest& ) OVERRIDE { return ResourceError("", 0, "", ""); } 242 virtual ResourceError interruptedForPolicyChangeError(const ResourceRequest& ) OVERRIDE { return ResourceError("", 0, "", ""); }
243 243
244 virtual ResourceError cannotShowMIMETypeError(const ResourceResponse&) OVERR IDE { return ResourceError("", 0, "", ""); } 244 virtual ResourceError cannotShowMIMETypeError(const ResourceResponse&) OVERR IDE { return ResourceError("", 0, "", ""); }
245 virtual ResourceError fileDoesNotExistError(const ResourceResponse&) OVERRID E { return ResourceError("", 0, "", ""); } 245 virtual ResourceError fileDoesNotExistError(const ResourceResponse&) OVERRID E { return ResourceError("", 0, "", ""); }
246 virtual ResourceError pluginWillHandleLoadError(const ResourceResponse&) OVE RRIDE { return ResourceError("", 0, "", ""); } 246 virtual ResourceError pluginWillHandleLoadError(const ResourceResponse&) OVE RRIDE { return ResourceError("", 0, "", ""); }
247 247
248 virtual bool shouldFallBack(const ResourceError&) OVERRIDE { return false; } 248 virtual bool shouldFallBack(const ResourceError&) OVERRIDE { return false; }
249 249
250 virtual bool canHandleRequest(const ResourceRequest&) const OVERRIDE { retur n false; }
251 virtual bool canShowMIMEType(const String&) const OVERRIDE { return false; } 250 virtual bool canShowMIMEType(const String&) const OVERRIDE { return false; }
252 virtual String generatedMIMETypeForURLScheme(const String&) const OVERRIDE { return ""; } 251 virtual String generatedMIMETypeForURLScheme(const String&) const OVERRIDE { return ""; }
253 252
254 virtual void didFinishLoad() OVERRIDE { } 253 virtual void didFinishLoad() OVERRIDE { }
255 254
256 virtual PassRefPtr<DocumentLoader> createDocumentLoader(const ResourceReques t&, const SubstituteData&) OVERRIDE; 255 virtual PassRefPtr<DocumentLoader> createDocumentLoader(const ResourceReques t&, const SubstituteData&) OVERRIDE;
257 256
258 virtual String userAgent(const KURL&) OVERRIDE { return ""; } 257 virtual String userAgent(const KURL&) OVERRIDE { return ""; }
259 258
260 virtual String doNotTrackValue() OVERRIDE { return String(); } 259 virtual String doNotTrackValue() OVERRIDE { return String(); }
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 virtual int forwardListCount() OVERRIDE { return 0; } 405 virtual int forwardListCount() OVERRIDE { return 0; }
407 virtual bool isActive() OVERRIDE { return false; } 406 virtual bool isActive() OVERRIDE { return false; }
408 virtual void close() OVERRIDE { } 407 virtual void close() OVERRIDE { }
409 }; 408 };
410 409
411 void fillWithEmptyClients(Page::PageClients&); 410 void fillWithEmptyClients(Page::PageClients&);
412 411
413 } 412 }
414 413
415 #endif // EmptyClients_h 414 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorController.cpp ('k') | Source/core/loader/FrameLoaderClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698