Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: dm/DMSrcSink.h

Issue 1063873004: DM: add --multiPage option (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dm/DM.cpp ('k') | dm/DMSrcSink.cpp » ('j') | dm/DMSrcSink.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMSrcSink.h
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h
index 0807cb664454e173cfc3cc3d5848d2aac5f85d7d..65ab4a6d1c4ade846be0dc636237ab64884b724d 100644
--- a/dm/DMSrcSink.h
+++ b/dm/DMSrcSink.h
@@ -166,20 +166,26 @@ private:
class PDFSink : public Sink {
public:
- PDFSink();
+ PDFSink(bool multiPage = false);
Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
int enclave() const override { return kAnyThread_Enclave; }
const char* fileExtension() const override { return "pdf"; }
+
+private:
+ bool fMultiPage;
};
class XPSSink : public Sink {
public:
- XPSSink();
+ XPSSink(bool multiPage = false);
Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
int enclave() const override { return kAnyThread_Enclave; }
const char* fileExtension() const override { return "xps"; }
+
+private:
+ bool fMultiPage;
};
class RasterSink : public Sink {
« no previous file with comments | « dm/DM.cpp ('k') | dm/DMSrcSink.cpp » ('j') | dm/DMSrcSink.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698