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..64f2f832179a00fced62b74d4822f3a8b54008b5 100644 |
--- a/ui/gfx/image/image_skia_operations.h |
+++ b/ui/gfx/image/image_skia_operations.h |
@@ -93,6 +93,12 @@ class GFX_EXPORT ImageSkiaOperations { |
const ImageSkia& source, |
SkBitmapOperations::RotationAmount rotation); |
+ // Creates an icon by painting the second icon as a badge to the first one. |
+ // The second icon is in the right corner of the first icon. If the icon |
+ // is valid and the badge is not, the icon will be returned. |
+ static ImageSkia CreateIconWithBadge(const ImageSkia& icon, |
+ const ImageSkia& badge); |
+ |
private: |
ImageSkiaOperations(); // Class for scoping only. |
}; |