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

Unified Diff: pdf/pdfium/pdfium_assert_matching_enums.cc

Issue 974183003: Print Preview: Support the duplex preset in PDFs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit 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
Index: pdf/pdfium/pdfium_assert_matching_enums.cc
diff --git a/pdf/pdfium/pdfium_assert_matching_enums.cc b/pdf/pdfium/pdfium_assert_matching_enums.cc
index afb6542a81474862330d24e545452005254dbd76..63c6145c2bda523753005d3897155c42e4753042 100644
--- a/pdf/pdfium/pdfium_assert_matching_enums.cc
+++ b/pdf/pdfium/pdfium_assert_matching_enums.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "base/basictypes.h"
+#include "ppapi/c/dev/pp_print_settings_dev.h"
#include "ppapi/c/pp_input_event.h"
#include "ppapi/c/private/ppb_pdf.h"
#include "third_party/pdfium/fpdfsdk/include/fpdf_fwlevent.h"
@@ -206,3 +207,8 @@ STATIC_ASSERT_MATCH(PP_PRIVATEFONTCHARSET_HANGUL, FXFONT_HANGEUL_CHARSET);
STATIC_ASSERT_MATCH(PP_PRIVATEFONTCHARSET_GB2312, FXFONT_GB2312_CHARSET);
STATIC_ASSERT_MATCH(PP_PRIVATEFONTCHARSET_CHINESEBIG5,
FXFONT_CHINESEBIG5_CHARSET);
+
+STATIC_ASSERT_MATCH(PP_PRINTDUPLEXMODE_NONE, DuplexUndefined);
+STATIC_ASSERT_MATCH(PP_PRINTDUPLEXMODE_SIMPLEX, Simplex);
+STATIC_ASSERT_MATCH(PP_PRINTDUPLEXMODE_SHORT_EDGE, DuplexFlipShortEdge);
+STATIC_ASSERT_MATCH(PP_PRINTDUPLEXMODE_LONG_EDGE, DuplexFlipLongEdge);

Powered by Google App Engine
This is Rietveld 408576698