| Index: ui/gfx/image/image_skia_operations.h
|
| diff --git a/ui/gfx/image/image_skia_operations.h b/ui/gfx/image/image_skia_operations.h
|
| index 64f2f832179a00fced62b74d4822f3a8b54008b5..f3829a2c6bd981d150718caa17e4fc29b6140bdd 100644
|
| --- a/ui/gfx/image/image_skia_operations.h
|
| +++ b/ui/gfx/image/image_skia_operations.h
|
| @@ -87,6 +87,13 @@ class GFX_EXPORT ImageSkiaOperations {
|
| static ImageSkia CreateImageWithDropShadow(const ImageSkia& source,
|
| const ShadowValues& shadows);
|
|
|
| + // Creates an image that is 1dp wide, suitable for tiling horizontally to
|
| + // create a drop shadow effect. The purpose of tiling a static image is to
|
| + // avoid repeatedly asking Skia to draw a shadow.
|
| + static gfx::ImageSkia CreateHorizontalShadow(
|
| + const std::vector<ShadowValue>& shadows,
|
| + bool fades_down);
|
| +
|
| // Creates an image which is a rotation of the |source|. |rotation| is the
|
| // amount of clockwise rotation in degrees.
|
| static ImageSkia CreateRotatedImage(
|
|
|