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

Unified Diff: printing/common/pdf_metafile_utils.h

Issue 2920013002: Use pdf compositor service for printing when OOPIF is enabled
Patch Set: rebase Created 3 years, 4 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
Index: printing/common/pdf_metafile_utils.h
diff --git a/printing/common/pdf_metafile_utils.h b/printing/common/pdf_metafile_utils.h
index 78d2b530f31cbd42506502261459c49ffcd499df..8ee20bd0e1a66b0eb98fa382b0463189aa47e3f3 100644
--- a/printing/common/pdf_metafile_utils.h
+++ b/printing/common/pdf_metafile_utils.h
@@ -14,10 +14,11 @@
namespace printing {
-enum SkiaDocumentType {
- PDF_SKIA_DOCUMENT_TYPE,
+enum class SkiaDocumentType {
Lei Zhang 2017/08/16 21:17:01 Can we split this into a separate CL?
Wei Li 2017/08/25 23:39:37 Done.
+ PDF,
// MSKP is an experimental, fragile, and diagnostic-only document type.
- MSKP_SKIA_DOCUMENT_TYPE,
+ MSKP,
+ MAX = MSKP
};
sk_sp<SkDocument> MakePdfDocument(const std::string& creator,

Powered by Google App Engine
This is Rietveld 408576698