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

Unified Diff: printing/printed_page.cc

Issue 8585017: PrintPreview: Honor the print media page size and margin values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win and mac issues Created 8 years, 12 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: printing/printed_page.cc
diff --git a/printing/printed_page.cc b/printing/printed_page.cc
index 7701dbd24dc1d39a0e2667ac54e6900126045253..af7b7388f86a6b233cf3991cc522b550adf4ee72 100644
--- a/printing/printed_page.cc
+++ b/printing/printed_page.cc
@@ -9,11 +9,13 @@ namespace printing {
PrintedPage::PrintedPage(int page_number,
Metafile* metafile,
const gfx::Size& page_size,
- const gfx::Rect& page_content_rect)
+ const gfx::Rect& page_content_rect,
+ double shrink_factor)
: page_number_(page_number),
metafile_(metafile),
page_size_(page_size),
- page_content_rect_(page_content_rect) {
+ page_content_rect_(page_content_rect),
+ shrink_factor_(shrink_factor) {
}
PrintedPage::~PrintedPage() {

Powered by Google App Engine
This is Rietveld 408576698