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

Unified Diff: chrome/common/print_messages.h

Issue 335473002: Guarded shrink setting with ifdefs to make clear where it is used. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Thu 06/12/2014 0:59:45.49 Created 6 years, 6 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/common/print_messages.h
diff --git a/chrome/common/print_messages.h b/chrome/common/print_messages.h
index cf91871b5867b1c0a2594f4a47be6532a2fd5150..cfeb66d649e096e335c430f640a0f9c666667b34 100644
--- a/chrome/common/print_messages.h
+++ b/chrome/common/print_messages.h
@@ -253,8 +253,10 @@ IPC_STRUCT_BEGIN(PrintHostMsg_DidPrintPage_Params)
// Page number.
IPC_STRUCT_MEMBER(int, page_number)
+#if defined(OS_WIN) && !defined(WIN_PDF_METAFILE_FOR_PRINTING)
// Shrink factor used to render this page.
IPC_STRUCT_MEMBER(double, actual_shrink)
+#endif // OS_WIN && !WIN_PDF_METAFILE_FOR_PRINTING
// The size of the page the page author specified.
IPC_STRUCT_MEMBER(gfx::Size, page_size)
« no previous file with comments | « chrome/browser/printing/print_view_manager_base.cc ('k') | chrome/renderer/printing/print_web_view_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698