Index: printing/printed_page.h |
diff --git a/printing/printed_page.h b/printing/printed_page.h |
index 28bf19158dcfb0c48e83a4ef91754b83844c484b..1eb94b5dfb6272f4e5bd3b1584d4c2c82d369b2a 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,10 @@ class PRINTING_EXPORT PrintedPage |
// The printable area of the page. |
const gfx::Rect page_content_rect_; |
+ // Shrink done in comparison to desired_dpi. To support multiple shrink |
vandebo (ex-Chrome)
2012/01/07 00:23:19
I would remove the "To..." sentence. It only make
kmadhusu
2012/01/09 17:15:55
Done.
|
+ // factors inside a print job. |
+ double shrink_factor_; |
+ |
DISALLOW_COPY_AND_ASSIGN(PrintedPage); |
}; |