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

Unified Diff: ui/gfx/image/image_skia_operations.h

Issue 2209053004: Enhance chrome.app.window API with icon property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review v2 + Badge Icon Created 4 years, 4 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
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.
};

Powered by Google App Engine
This is Rietveld 408576698