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

Unified Diff: ui/compositor/layer.h

Issue 1937493002: cc: 9patch: fix shadow scaling issue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix invalid occlusion area Created 4 years, 8 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 26560d1d5fbd1a1f287e921c9c1323649cb738c7..51c5432827decc04c777bcf0d17cb5007f34a272 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -305,6 +305,7 @@ class COMPOSITOR_EXPORT Layer
// called for LAYER_NINE_PATCH.
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);

Powered by Google App Engine
This is Rietveld 408576698