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

Unified Diff: third_party/WebKit/Source/core/loader/resource/ImageResourceInfo.h

Issue 2638383008: Temporarily introduce ImageResourceInfo::setIsPlaceholder() (Closed)
Patch Set: Rebase Created 3 years, 10 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 | « third_party/WebKit/Source/core/loader/resource/ImageResourceContent.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/loader/resource/ImageResourceInfo.h
diff --git a/third_party/WebKit/Source/core/loader/resource/ImageResourceInfo.h b/third_party/WebKit/Source/core/loader/resource/ImageResourceInfo.h
index fa2c4252785c98ecb389dd7819e52de345ce312e..e78dbb505981e42ed0085c74a18801972038e050 100644
--- a/third_party/WebKit/Source/core/loader/resource/ImageResourceInfo.h
+++ b/third_party/WebKit/Source/core/loader/resource/ImageResourceInfo.h
@@ -50,6 +50,9 @@ class CORE_EXPORT ImageResourceInfo : public GarbageCollectedMixin {
// (if any) DecodeError and finishes loading.
virtual void decodeError(bool allDataReceived) = 0;
+ // TODO(hiroshige): Remove this.
+ virtual void setIsPlaceholder(bool) = 0;
+
// TODO(hiroshige): Remove this once MemoryCache becomes further weaker.
virtual void setDecodedSize(size_t) = 0;
« no previous file with comments | « third_party/WebKit/Source/core/loader/resource/ImageResourceContent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698