Index: printing/printed_page.h |
diff --git a/printing/printed_page.h b/printing/printed_page.h |
index 28bf19158dcfb0c48e83a4ef91754b83844c484b..40e96e041d3144b5ecb14d468385bfa2dfa335e3 100644 |
--- a/printing/printed_page.h |
+++ b/printing/printed_page.h |
@@ -25,13 +25,15 @@ class PRINTING_EXPORT 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); |
// Getters |
int page_number() const { return page_number_; } |
const Metafile* metafile() const; |
const gfx::Size& page_size() const { return page_size_; } |
const gfx::Rect& page_content_rect() const { return page_content_rect_; } |
+ double shrink_factor() const { return shrink_factor_; } |
// Get page content rect adjusted based on |
// http://dev.w3.org/csswg/css3-page/#positioning-page-box |
@@ -56,6 +58,9 @@ class PRINTING_EXPORT PrintedPage |
// The printable area of the page. |
const gfx::Rect page_content_rect_; |
+ // Shrink done in comparison to desired_dpi. |
+ double shrink_factor_; |
+ |
DISALLOW_COPY_AND_ASSIGN(PrintedPage); |
}; |