Index: ui/compositor/layer.h |
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h |
index f5d4526142669b2b692cce0a08eb963c72153d57..b128cbba29056108e9dd80cb252f130c693ad14e 100644 |
--- a/ui/compositor/layer.h |
+++ b/ui/compositor/layer.h |
@@ -321,6 +321,9 @@ class COMPOSITOR_EXPORT Layer |
void UpdateNinePatchLayerImage(const gfx::ImageSkia& image); |
void UpdateNinePatchLayerAperture(const gfx::Rect& aperture_in_dip); |
void UpdateNinePatchLayerBorder(const gfx::Rect& border); |
+ // Updates the area completely occluded by another layer, this can be an |
+ // empty rectangle if nothing is occluded. |
+ void UpdateNinePatchOcclusion(const gfx::Rect& occlusion); |
// Adds |invalid_rect| to the Layer's pending invalid rect and calls |
// ScheduleDraw(). Returns false if the paint request is ignored. |