Index: ui/gfx/image/image_skia.h |
diff --git a/ui/gfx/image/image_skia.h b/ui/gfx/image/image_skia.h |
index fa5d070ad9bdc31e17f10371dfb9d4c2dd7bb052..8e800faee34a20f51a4db4edfd7917c4c67e500b 100644 |
--- a/ui/gfx/image/image_skia.h |
+++ b/ui/gfx/image/image_skia.h |
@@ -78,6 +78,10 @@ class GFX_EXPORT ImageSkia { |
// density display. |
static ImageSkia CreateFrom1xBitmap(const SkBitmap& bitmap); |
+ // Returns true if the scale passed in is the list of supported scales for |
+ // the platform. |
+ static bool IsSupportedScale(float scale); |
+ |
// Returns a deep copy of this ImageSkia which has its own storage with |
// the ImageSkiaRep instances that this ImageSkia currently has. |
// This can be safely passed to and manipulated by another thread. |