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

Unified Diff: cc/layers/layer_impl.h

Issue 92853002: Support for drawing a debug border around animated layers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index 1969b74967806b7c210a5d0553f2e1da4d1fa7e6..17cee86ded03272595a6984b1bc84cef59bf6f51 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -352,6 +352,8 @@ class CC_EXPORT LayerImpl : LayerAnimationValueObserver {
float contents_scale_y() const { return draw_properties_.contents_scale_y; }
void SetContentsScale(float contents_scale_x, float contents_scale_y);
Ian Vollick 2013/11/28 00:05:12 Please add a comment saying what this will do and
avallee 2013/11/28 00:31:08 Done.
+ bool GetAnimationBounds(gfx::BoxF* out) const { return false; }
+
virtual void CalculateContentsScale(float ideal_contents_scale,
float device_scale_factor,
float page_scale_factor,

Powered by Google App Engine
This is Rietveld 408576698