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

Unified Diff: third_party/WebKit/Source/core/fetch/ImageResourceObserver.h

Issue 2469873002: [ImageResource 4] Split ImageResource into Resource and Image parts (Closed)
Patch Set: style Created 4 years 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
Index: third_party/WebKit/Source/core/fetch/ImageResourceObserver.h
diff --git a/third_party/WebKit/Source/core/fetch/ImageResourceObserver.h b/third_party/WebKit/Source/core/fetch/ImageResourceObserver.h
index e70f18c712c341627a9fa83a95f4b0f4a2782f1e..7a6922f99bb10d2cfd4945aad38e59bcfd48d692 100644
--- a/third_party/WebKit/Source/core/fetch/ImageResourceObserver.h
+++ b/third_party/WebKit/Source/core/fetch/ImageResourceObserver.h
@@ -30,7 +30,7 @@
namespace blink {
-class ImageResource;
+class ImageResourceContent;
class IntRect;
class CORE_EXPORT ImageResourceObserver {
@@ -40,11 +40,11 @@ class CORE_EXPORT ImageResourceObserver {
// Called whenever a frame of an image changes, either because we got more
// data from the network or because we are animating. If not null, the IntRect
// is the changed rect of the image.
- virtual void imageChanged(ImageResource*, const IntRect* = 0) {}
+ virtual void imageChanged(ImageResourceContent*, const IntRect* = 0) {}
// Called just after imageChanged() if all image data is received or errored.
// TODO(hiroshige): Merge imageNotifyFinished() into imageChanged().
- virtual void imageNotifyFinished(ImageResource*) {}
+ virtual void imageNotifyFinished(ImageResourceContent*) {}
// Called to find out if this client wants to actually display the image. Used
// to tell when we can halt animation. Content nodes that hold image refs for
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ImageResourceInfo.h ('k') | third_party/WebKit/Source/core/fetch/ImageResourceTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698