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

Unified Diff: cc/layers/layer_impl.h

Issue 271533011: cc: Move tiling management out of draw properties calculation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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 | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | cc/layers/picture_layer_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index 16747aa9a5bc258a58f854d10b38aad737c22e2d..6400192f8d55d845733f4108bdc64fc7034c4c12 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -182,6 +182,8 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
virtual void NotifyTileInitialized(const Tile* tile) {}
virtual ScrollbarLayerImplBase* ToScrollbarLayer();
+ virtual void ManageTilings(bool animating_transform_to_screen,
enne (OOO) 2014/05/13 18:04:09 Please don't add this to LayerImpl. Too many virt
danakj 2014/05/13 18:10:07 If this is not being called mid-CalcDrawProps, it
+ float maximum_animation_contents_scale) {}
danakj 2014/05/13 18:10:07 This one probably needs to be added to the DrawPro
// Returns true if this layer has content to draw.
void SetDrawsContent(bool draws_content);
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | cc/layers/picture_layer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698