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

Unified Diff: sky/engine/core/fetch/ImageResourceClient.h

Issue 1228463002: Remove RenderImage (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/fetch/ImageResource.cpp ('k') | sky/engine/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/fetch/ImageResourceClient.h
diff --git a/sky/engine/core/fetch/ImageResourceClient.h b/sky/engine/core/fetch/ImageResourceClient.h
index 61f15ee930b6541a0335264167acf2e9d23df5e4..16c12fc71d4e8b0fd7b38979df7e19ac8ce3cd46 100644
--- a/sky/engine/core/fetch/ImageResourceClient.h
+++ b/sky/engine/core/fetch/ImageResourceClient.h
@@ -39,12 +39,6 @@ public:
// 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) { }
-
- // 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 example would not render the image,
- // but RenderImages would (assuming they have visibility: visible and their render tree isn't hidden
- // e.g., in the b/f cache or in a background tab).
- virtual bool willRenderImage(ImageResource*) { return false; }
};
}
« no previous file with comments | « sky/engine/core/fetch/ImageResource.cpp ('k') | sky/engine/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698