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

Unified Diff: cc/resources/picture_layer_tiling.h

Issue 874613003: cc: Stop pushing properties every activation for picture layers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
Index: cc/resources/picture_layer_tiling.h
diff --git a/cc/resources/picture_layer_tiling.h b/cc/resources/picture_layer_tiling.h
index 15fdb4320eea2c640107054bfef7298e423ce0fa..6e26928b146d86ec4f2eb04159039fa3c39523be 100644
--- a/cc/resources/picture_layer_tiling.h
+++ b/cc/resources/picture_layer_tiling.h
@@ -33,6 +33,10 @@ class RasterSource;
class CC_EXPORT PictureLayerTilingClient {
public:
+ // Callback to notify the client that the PictureLayerTilingSet changed (ie. a
+ // tiling was added or removed).
vmpstr 2015/01/23 20:57:58 From the patch you have, this doesn't include any
danakj 2015/01/23 21:11:36 I don't think so.. live rect changes would come wi
+ virtual void TilingSetChanged() = 0;
+
// Create a tile at the given content_rect (in the contents scale of the
// tiling) This might return null if the client cannot create such a tile.
virtual scoped_refptr<Tile> CreateTile(float contents_scale,

Powered by Google App Engine
This is Rietveld 408576698