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

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

Issue 10827191: Convert extension action icons code to use ImageSkia instead of SkBitmap (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove includes we don't need anymore Created 8 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 042c836432e62ad5351ed415765ed88c078534b3..878e79ad5d4e3aec59f8b7379311cb9bc3e4e633 100644
--- a/ui/gfx/image/image_skia_operations.h
+++ b/ui/gfx/image/image_skia_operations.h
@@ -24,6 +24,11 @@ class UI_EXPORT ImageSkiaOperations {
const ImageSkia& second,
double alpha);
+ // Creates new image by painting first and second image respectively.
+ // The second image is centered in respect to the first image.
Jeffrey Yasskin 2012/08/09 21:39:04 I've seen code that wants to control whether cente
tbarzic 2012/08/10 06:24:08 might be a good idea, but I'd leave it outside of
Jeffrey Yasskin 2012/08/10 07:40:35 SGTM.
+ static ImageSkia CreateSuperimposedImage(const ImageSkia& first,
+ const ImageSkia& second);
+
// Create an image that is the original image masked out by the mask defined
// in the alpha image. The images must use the kARGB_8888_Config config and
// be of equal dimensions.

Powered by Google App Engine
This is Rietveld 408576698