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

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

Issue 2469873002: [ImageResource 4] Split ImageResource into Resource and Image parts (Closed)
Patch Set: Rebase. 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 b1f5da8ede5cd434f9605d313c5444ec8011b99d..4a525861c963dc67c93eb81de6a8d8c57a3c834d 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

Powered by Google App Engine
This is Rietveld 408576698