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

Unified Diff: ui/compositor/layer.h

Issue 581273002: Shadows: crop corner tiles instead of hiding. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits from sky Created 6 years, 3 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
« no previous file with comments | « no previous file | ui/compositor/layer.cc » ('j') | ui/wm/core/shadow_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.h
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index 83855bf7610c3a68ab3f6b89d9279798100d339d..d009af467b355ad32c2ef195f74732081cf857c4 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -287,13 +287,10 @@ class COMPOSITOR_EXPORT Layer
// Sets the layer's fill color. May only be called for LAYER_SOLID_COLOR.
void SetColor(SkColor color);
- // Updates the nine patch layer's bitmap and aperture. May only be called for
- // LAYER_NINE_PATCH.
- void UpdateNinePatchLayerBitmap(const SkBitmap& bitmap,
- const gfx::Rect& aperture);
-
- // Updates the nine patch layer's border. May only be called for
- // LAYER_NINE_PATCH.
+ // Updates the nine patch layer's bitmap, aperture and border. May only be
+ // called for LAYER_NINE_PATCH.
+ void UpdateNinePatchLayerBitmap(const SkBitmap& bitmap);
+ void UpdateNinePatchLayerAperture(const gfx::Rect& aperture);
void UpdateNinePatchLayerBorder(const gfx::Rect& border);
// Adds |invalid_rect| to the Layer's pending invalid rect and calls
« no previous file with comments | « no previous file | ui/compositor/layer.cc » ('j') | ui/wm/core/shadow_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698