Index: Source/core/platform/graphics/Image.h |
=================================================================== |
--- Source/core/platform/graphics/Image.h (revision 162906) |
+++ Source/core/platform/graphics/Image.h (working copy) |
@@ -107,8 +107,13 @@ |
enum TileRule { StretchTile, RoundTile, SpaceTile, RepeatTile }; |
- virtual PassRefPtr<NativeImageSkia> nativeImageForCurrentFrame() { return 0; } |
+ enum ScaleHint { |
+ UseNativeScale, |
+ PreferDeviceScale |
+ }; |
+ virtual PassRefPtr<NativeImageSkia> nativeImageForCurrentFrame(ScaleHint /*hint*/ = UseNativeScale) { return 0; } |
+ |
virtual void drawPattern(GraphicsContext*, const FloatRect&, |
const FloatSize&, const FloatPoint& phase, CompositeOperator, |
const FloatRect&, blink::WebBlendMode = blink::WebBlendModeNormal, const IntSize& repeatSpacing = IntSize()); |