Index: Source/platform/DragImage.h |
diff --git a/Source/platform/DragImage.h b/Source/platform/DragImage.h |
index 9abdf5f7696bf5fc499391fa260e3c4adfda7c8b..8579e303ae526bc66676c13e1d37b3b51b993ec0 100644 |
--- a/Source/platform/DragImage.h |
+++ b/Source/platform/DragImage.h |
@@ -27,6 +27,7 @@ |
#define DragImage_h |
#include "platform/geometry/IntSize.h" |
+#include "platform/graphics/GraphicsTypes.h" |
#include "platform/graphics/ImageOrientation.h" |
#include "platform/graphics/paint/DisplayItemClient.h" |
#include "third_party/skia/include/core/SkBitmap.h" |
@@ -40,7 +41,7 @@ class KURL; |
class PLATFORM_EXPORT DragImage { |
public: |
- static PassOwnPtr<DragImage> create(Image*, RespectImageOrientationEnum = DoNotRespectImageOrientation, float deviceScaleFactor = 1); |
+ static PassOwnPtr<DragImage> create(Image*, RespectImageOrientationEnum = DoNotRespectImageOrientation, float deviceScaleFactor = 1, InterpolationQuality = InterpolationHigh); |
static PassOwnPtr<DragImage> create(const KURL&, const String& label, const FontDescription& systemFont, float deviceScaleFactor); |
~DragImage(); |
@@ -53,12 +54,13 @@ public: |
void dissolveToFraction(float fraction); |
private: |
- DragImage(const SkBitmap&, float resolutionScale); |
+ DragImage(const SkBitmap&, float resolutionScale, InterpolationQuality); |
DisplayItemClient displayItemClient() const { return toDisplayItemClient(this); } |
SkBitmap m_bitmap; |
float m_resolutionScale; |
+ InterpolationQuality m_interpolationQuality; |
}; |
} |