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

Unified Diff: Source/WebCore/loader/cache/CachedImage.h

Issue 14210003: Simplify CachedResource::data (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/loader/cache/CachedFont.cpp ('k') | Source/WebCore/loader/cache/CachedImage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/loader/cache/CachedImage.h
===================================================================
--- Source/WebCore/loader/cache/CachedImage.h (revision 148397)
+++ Source/WebCore/loader/cache/CachedImage.h (working copy)
@@ -76,9 +76,10 @@
virtual void allClientsRemoved();
virtual void destroyDecodedData();
- virtual void data(PassRefPtr<ResourceBuffer> data, bool allDataReceived);
+ virtual void data(PassRefPtr<ResourceBuffer> data) OVERRIDE;
virtual void error(CachedResource::Status);
virtual void responseReceived(const ResourceResponse&);
+ virtual void finishOnePart() OVERRIDE;
// For compatibility, images keep loading even if there are HTTP errors.
virtual bool shouldIgnoreHTTPStatusCodeErrors() const { return true; }
@@ -101,6 +102,7 @@
void setCustomAcceptHeader();
void createImage();
+ void updateImage(bool allDataReceived);
void clearImage();
// If not null, changeRect is the changed part of the image.
void notifyObservers(const IntRect* changeRect = 0);
@@ -116,6 +118,7 @@
#if ENABLE(SVG)
OwnPtr<SVGImageCache> m_svgImageCache;
#endif
+ bool m_loadingMultipartContent;
};
}
« no previous file with comments | « Source/WebCore/loader/cache/CachedFont.cpp ('k') | Source/WebCore/loader/cache/CachedImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698