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

Unified Diff: printing/printed_document.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
« no previous file with comments | « chrome/renderer/printing/print_web_view_helper_pdf_win.cc ('k') | printing/printed_document.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printed_document.h
diff --git a/printing/printed_document.h b/printing/printed_document.h
index b8af4bb5f39e4984cf98d0d4278f7dc222176bd4..3341d54221ab179411da6d08dab345e7052bcfd8 100644
--- a/printing/printed_document.h
+++ b/printing/printed_document.h
@@ -42,8 +42,13 @@ class PRINTING_EXPORT PrintedDocument
// Sets a page's data. 0-based. Takes metafile ownership.
// Note: locks for a short amount of time.
- void SetPage(int page_number, Metafile* metafile, double shrink,
- const gfx::Size& paper_size, const gfx::Rect& page_rect);
+ void SetPage(int page_number,
+ Metafile* metafile,
+#if defined(OS_WIN)
+ double shrink,
+#endif // OS_WIN
+ const gfx::Size& paper_size,
+ const gfx::Rect& page_rect);
// Retrieves a page. If the page is not available right now, it
// requests to have this page be rendered and returns false.
« no previous file with comments | « chrome/renderer/printing/print_web_view_helper_pdf_win.cc ('k') | printing/printed_document.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698