Chromium Code Reviews| Index: pdf/pdf.h |
| diff --git a/pdf/pdf.h b/pdf/pdf.h |
| index d18489d10535029903797e1985110ceb4e0b7634..8c1d0587907c4d9d7446aa8d4ebee5ff7d31a0af 100644 |
| --- a/pdf/pdf.h |
| +++ b/pdf/pdf.h |
| @@ -36,6 +36,14 @@ void PPP_ShutdownModule(); |
| const void* PPP_GetInterface(const char* interface_name); |
| #if defined(OS_WIN) |
| +// Printing modes - type to convert PDF to for printing |
| +enum PrintingMode { |
| + EMF = 0, |
|
Lei Zhang
2017/07/13 20:53:16
Switch to kFoo for new enums?
|
| + TEXTONLY = 1, |
| + POSTSCRIPT2 = 2, |
| + POSTSCRIPT3 = 3, |
| +}; |
| + |
| // |pdf_buffer| is the buffer that contains the entire PDF document to be |
| // rendered. |
| // |buffer_size| is the size of |pdf_buffer| in bytes. |
| @@ -83,7 +91,7 @@ void SetPDFEnsureTypefaceCharactersAccessible( |
| void SetPDFUseGDIPrinting(bool enable); |
| -void SetPDFPostscriptPrintingLevel(int postscript_level); |
| +void SetPDFUsePrintMode(int mode); |
| #endif // defined(OS_WIN) |
| // |page_count| and |max_page_width| are optional and can be NULL. |