Index: ui/gfx/image/image.h |
diff --git a/ui/gfx/image/image.h b/ui/gfx/image/image.h |
index 9c0e6eb9671cc9e7ef58fe572953986f9116a4c0..b5bb3bf17d0c29268f921a587bdb134fd0423461 100644 |
--- a/ui/gfx/image/image.h |
+++ b/ui/gfx/image/image.h |
@@ -62,6 +62,9 @@ class UI_EXPORT Image { |
// Creates an empty image with no representations. |
Image(); |
+ // Creates a new image with the default representation. |
+ explicit Image(const ImageSkia& image); |
+ |
// Creates a new image with the default representation. The object will take |
// ownership of the image. |
explicit Image(const SkBitmap* bitmap); |
@@ -70,10 +73,6 @@ class UI_EXPORT Image { |
// representation. |
explicit Image(const SkBitmap& bitmap); |
- // To create an Image that supports multiple resolutions pass a vector |
- // of bitmaps, one for each resolution. |
- explicit Image(const std::vector<const SkBitmap*>& bitmaps); |
- |
#if defined(TOOLKIT_GTK) |
// Does not increase |pixbuf|'s reference count; expects to take ownership. |
explicit Image(GdkPixbuf* pixbuf); |
@@ -112,6 +111,7 @@ class UI_EXPORT Image { |
// backing pixels are shared amongst all copies (a fact of each of the |
// converted representations, rather than a limitation imposed by Image) and |
// so the result should be considered immutable. |
+ ImageSkia* CopyImageSkia() const; |
SkBitmap* CopySkBitmap() const; |
#if defined(TOOLKIT_GTK) |
GdkPixbuf* CopyGdkPixbuf() const; |