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

Unified Diff: cc/layers/layer.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.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index 9af3dea7c7de4f3165334cc6da8e3bfbe36ce105..cada733c99cc29133a0f9691c852a698afb35aa7 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -374,6 +374,8 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
float contents_scale_y() const { return draw_properties_.contents_scale_y; }
gfx::Size content_bounds() const { return draw_properties_.content_bounds; }
+ bool GetAnimationBounds(gfx::BoxF* out) const { return false; }
Ian Vollick 2013/11/28 00:05:12 I don't think this will be necessary. Ultimately,
avallee 2013/11/28 00:31:08 It's not. I forgot to delete this in the CL here.
+
virtual void CalculateContentsScale(float ideal_contents_scale,
float device_scale_factor,
float page_scale_factor,

Powered by Google App Engine
This is Rietveld 408576698