Index: dm/DMSrcSink.h |
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h |
index 8cd92a6c12318e0283862b7f6bbd5fa2b5c8326c..faa333392282294faa413c8c8efc17b6320d8c0a 100644 |
--- a/dm/DMSrcSink.h |
+++ b/dm/DMSrcSink.h |
@@ -119,6 +119,15 @@ public: |
const char* fileExtension() const SK_OVERRIDE { return "pdf"; } |
}; |
+class XPSSink : public Sink { |
+public: |
+ XPSSink(); |
+ |
+ Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const SK_OVERRIDE; |
+ int enclave() const SK_OVERRIDE { return kAnyThread_Enclave; } |
+ const char* fileExtension() const SK_OVERRIDE { return "xps"; } |
+}; |
+ |
class RasterSink : public Sink { |
public: |
explicit RasterSink(SkColorType); |