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

Side by Side Diff: Source/WebCore/loader/EmptyClients.h

Issue 7521007: Merge 91797 - Add support for download='filename' attribute in anchors. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 5 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
« no previous file with comments | « Source/WebCore/html/HTMLAttributeNames.in ('k') | Source/WebCore/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 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011 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 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 virtual void setMainDocumentError(DocumentLoader*, const ResourceError&) { } 303 virtual void setMainDocumentError(DocumentLoader*, const ResourceError&) { }
304 304
305 virtual void willChangeEstimatedProgress() { } 305 virtual void willChangeEstimatedProgress() { }
306 virtual void didChangeEstimatedProgress() { } 306 virtual void didChangeEstimatedProgress() { }
307 virtual void postProgressStartedNotification() { } 307 virtual void postProgressStartedNotification() { }
308 virtual void postProgressEstimateChangedNotification() { } 308 virtual void postProgressEstimateChangedNotification() { }
309 virtual void postProgressFinishedNotification() { } 309 virtual void postProgressFinishedNotification() { }
310 310
311 virtual void setMainFrameDocumentReady(bool) { } 311 virtual void setMainFrameDocumentReady(bool) { }
312 312
313 virtual void startDownload(const ResourceRequest&) { } 313 virtual void startDownload(const ResourceRequest&, const String& suggestedNa me = String()) { UNUSED_PARAM(suggestedName); }
314 314
315 virtual void willChangeTitle(DocumentLoader*) { } 315 virtual void willChangeTitle(DocumentLoader*) { }
316 virtual void didChangeTitle(DocumentLoader*) { } 316 virtual void didChangeTitle(DocumentLoader*) { }
317 317
318 virtual void committedLoad(DocumentLoader*, const char*, int) { } 318 virtual void committedLoad(DocumentLoader*, const char*, int) { }
319 virtual void finishedLoading(DocumentLoader*) { } 319 virtual void finishedLoading(DocumentLoader*) { }
320 320
321 virtual ResourceError cancelledError(const ResourceRequest&) { ResourceError error("", 0, "", ""); error.setIsCancellation(true); return error; } 321 virtual ResourceError cancelledError(const ResourceRequest&) { ResourceError error("", 0, "", ""); error.setIsCancellation(true); return error; }
322 virtual ResourceError blockedError(const ResourceRequest&) { return Resource Error("", 0, "", ""); } 322 virtual ResourceError blockedError(const ResourceRequest&) { return Resource Error("", 0, "", ""); }
323 virtual ResourceError cannotShowURLError(const ResourceRequest&) { return Re sourceError("", 0, "", ""); } 323 virtual ResourceError cannotShowURLError(const ResourceRequest&) { return Re sourceError("", 0, "", ""); }
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 virtual void setController(DeviceOrientationController*) { } 609 virtual void setController(DeviceOrientationController*) { }
610 virtual void startUpdating() { } 610 virtual void startUpdating() { }
611 virtual void stopUpdating() { } 611 virtual void stopUpdating() { }
612 virtual DeviceOrientation* lastOrientation() const { return 0; } 612 virtual DeviceOrientation* lastOrientation() const { return 0; }
613 virtual void deviceOrientationControllerDestroyed() { } 613 virtual void deviceOrientationControllerDestroyed() { }
614 }; 614 };
615 615
616 } 616 }
617 617
618 #endif // EmptyClients_h 618 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « Source/WebCore/html/HTMLAttributeNames.in ('k') | Source/WebCore/loader/FrameLoaderClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698