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

Unified Diff: chrome/renderer/printing/print_web_view_helper_win.cc

Issue 255543006: Printing on Windows via PDF (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: almost working; SafePlayback failing in final print Created 6 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
Index: chrome/renderer/printing/print_web_view_helper_win.cc
diff --git a/chrome/renderer/printing/print_web_view_helper_win.cc b/chrome/renderer/printing/print_web_view_helper_win.cc
index 4e80461979614df6a42ef9ed0de7ea8952641021..14980e36f64075ad07bbfc8121461f51898a1a76 100644
--- a/chrome/renderer/printing/print_web_view_helper_win.cc
+++ b/chrome/renderer/printing/print_web_view_helper_win.cc
@@ -4,6 +4,9 @@
#include "chrome/renderer/printing/print_web_view_helper.h"
+// XXX TODO in .gyp instead
+#if !defined(PRINTING_WIN_USES_PDF_AS_METAFILE)
+
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "base/metrics/histogram.h"
@@ -247,3 +250,5 @@ bool PrintWebViewHelper::CopyMetafileDataToSharedMem(
}
} // namespace printing
+
+#endif // !PRINTING_WIN_USES_PDF_AS_METAFILE

Powered by Google App Engine
This is Rietveld 408576698