Chromium Code Reviews| 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 80326b6f2df1ef911eeae43e293c33b897deaec1..8cc394a1fadf63f9db026af8b70c5bba19d35010 100644 |
| --- a/ui/gfx/image/image_skia_operations.h |
| +++ b/ui/gfx/image/image_skia_operations.h |
| @@ -83,6 +83,13 @@ class UI_EXPORT ImageSkiaOperations { |
| skia::ImageOperations::ResizeMethod methd, |
| const Size& target_dip_size); |
| + // Creates an image which will inherit image representations from |source|. |
| + // Image representations for scale factors not containted in |source| will be |
| + // generated by resizing existing representations using |resize_method|. |
| + static ImageSkia CreateImageWithFallbackResizeMethod( |
|
tbarzic
2012/10/16 18:00:32
do you have a better idea for this name? I'm not t
|
| + const ImageSkia& source, |
| + skia::ImageOperations::ResizeMethod resize_method); |
| + |
| // Creates an image with drop shadow defined in |shadows| for |source|. |
| static ImageSkia CreateImageWithDropShadow(const ImageSkia& source, |
| const ShadowValues& shadows); |