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

Unified Diff: cc/debug/debug_rect_history.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: Copy switches for chromeos Created 7 years 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 | « cc/debug/debug_colors.cc ('k') | cc/debug/debug_rect_history.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/debug_rect_history.h
diff --git a/cc/debug/debug_rect_history.h b/cc/debug/debug_rect_history.h
index 346148a93fc308d7bb96e6aba77f49e495f907b4..0dae431bd5f977330723458eebdce3c945bf748f 100644
--- a/cc/debug/debug_rect_history.h
+++ b/cc/debug/debug_rect_history.h
@@ -53,6 +53,7 @@ enum DebugRectType {
TOUCH_EVENT_HANDLER_RECT_TYPE,
WHEEL_EVENT_HANDLER_RECT_TYPE,
NON_FAST_SCROLLABLE_RECT_TYPE,
+ ANIMATION_BOUNDS_RECT_TYPE,
};
struct DebugRect {
@@ -103,6 +104,8 @@ class DebugRectHistory {
void SaveWheelEventHandlerRectsCallback(LayerImpl* layer);
void SaveNonFastScrollableRects(LayerImpl* layer);
void SaveNonFastScrollableRectsCallback(LayerImpl* layer);
+ void SaveLayerAnimationBoundsRects(
+ const LayerImplList& render_surface_layer_list);
std::vector<DebugRect> debug_rects_;
« no previous file with comments | « cc/debug/debug_colors.cc ('k') | cc/debug/debug_rect_history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698