Index: cc/switches.cc |
diff --git a/cc/switches.cc b/cc/switches.cc |
index be8110025a66c73fc695d4523edd4ddeb28b79e0..5302ade0f441b17316e8655a73f05d13d450c686 100644 |
--- a/cc/switches.cc |
+++ b/cc/switches.cc |
@@ -29,6 +29,25 @@ const char kImplSidePainting[] = "impl-side-painting"; |
// content (i.e. jank) instead of showing checkerboards for missing content. |
const char kJankInsteadOfCheckerboard[] = "jank-instead-of-checkerboard"; |
+// Show rects in the HUD around layers whose properties have changed. |
+const char kShowPropertyChangedRects[] = "show-property-changed-rects"; |
+ |
+// Show rects in the HUD around damage as it is recorded into each render |
+// surface. |
+const char kShowSurfaceDamageRects[] = "show-surface-damage-rects"; |
+ |
+// Show rects in the HUD around the screen-space transformed bounds of every |
+// layer. |
+const char kShowScreenSpaceRects[] = "show-screenspace-rects"; |
+ |
+// Show rects in the HUD around the screen-space transformed bounds of every |
+// layer's replica, when they have one. |
+const char kShowReplicaScreenSpaceRects[] = "show-replica-screenspace-rects"; |
+ |
+// Show rects in the HUD wherever something is known to be drawn opaque and is |
+// considered occluding the pixels behind it. |
+const char kShowOccludingRects[] = "show-occluding-rects"; |
+ |
// Show metrics about overdraw in about:tracing recordings, such as the number |
// of pixels culled, and the number of pixels drawn, for each frame. |
const char kTraceOverdraw[] = "trace-overdraw"; |