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

Unified Diff: ui/compositor/layer.h

Issue 2083083004: cc: nine patch: add occlusion support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for hidpi screens Created 4 years, 6 months 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: 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.

Powered by Google App Engine
This is Rietveld 408576698