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

Unified Diff: src/pdf/SkPDFDocument.h

Issue 936403002: PDF: why do we have flags no one uses (or can use)? (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 10 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 | « src/pdf/SkPDFCatalog.cpp ('k') | src/pdf/SkPDFDocument.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pdf/SkPDFDocument.h
diff --git a/src/pdf/SkPDFDocument.h b/src/pdf/SkPDFDocument.h
index 07738a210bfae59d1230f221842f1412949b8ee9..6644d96d5421413203220a737755f39443b2ca19 100644
--- a/src/pdf/SkPDFDocument.h
+++ b/src/pdf/SkPDFDocument.h
@@ -29,18 +29,7 @@ template <typename T> class SkTSet;
*/
class SkPDFDocument {
public:
- enum Flags {
- kNoCompression_Flags = 0x01, //!< DEPRECATED.
- kFavorSpeedOverSize_Flags = 0x01, //!< Don't compress the stream, but
- // if it is already compressed return
- // the compressed stream.
- kNoLinks_Flags = 0x02, //!< do not honor link annotations.
-
- kDraftMode_Flags = 0x01,
- };
- /** Create a PDF document.
- */
- explicit SK_API SkPDFDocument(Flags flags = (Flags)0);
+ SK_API SkPDFDocument();
SK_API ~SkPDFDocument();
/** Output the PDF to the passed stream. It is an error to call this (it
« no previous file with comments | « src/pdf/SkPDFCatalog.cpp ('k') | src/pdf/SkPDFDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698