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 a22a8408d98e573368abcb91ba8bfde2c12d56eb..a38e65e3ee542f5e9f2d9616b36dd0a31931f9b0 100644 |
--- a/ui/gfx/image/image_skia_operations.h |
+++ b/ui/gfx/image/image_skia_operations.h |
@@ -93,6 +93,11 @@ class GFX_EXPORT ImageSkiaOperations { |
const ImageSkia& source, |
SkBitmapOperations::RotationAmount rotation); |
+ // Creates an image by painting the second image as a badge to the first one. |
+ // The second image is in the right corner of the first image. |
+ static ImageSkia CreateImageWithBadge(const ImageSkia& first, |
+ const ImageSkia& second); |
stevenjb
2016/08/08 22:26:46
Instead of 'first' and 'second', use 'image' and '
Andra Paraschiv
2016/08/09 11:34:48
Done.
|
+ |
private: |
ImageSkiaOperations(); // Class for scoping only. |
}; |