Index: ui/gfx/image/image_skia.h |
diff --git a/ui/gfx/image/image_skia.h b/ui/gfx/image/image_skia.h |
index e6ab0acdd599ea224d3b9df9c9a5697014b54b27..fbe3414256ebb9ef0e78f276404754d3e6d56525 100644 |
--- a/ui/gfx/image/image_skia.h |
+++ b/ui/gfx/image/image_skia.h |
@@ -83,6 +83,14 @@ class UI_EXPORT ImageSkia { |
const gfx::ImageSkiaRep& GetRepresentation( |
ui::ScaleFactor scale_factor) const; |
+#if defined(OS_MACOSX) |
+ // Returns the image reps contained by this object. |
+ // If the image has a source, this method will attempt to generate |
+ // representations from the source for all supported scale factors. |
+ // Mac only for now. |
+ std::vector<ImageSkiaRep> GetRepresentations() const; |
+#endif // OS_MACOSX |
+ |
// Returns true if object is null or its size is empty. |
bool empty() const; |