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

Unified Diff: chrome/renderer/mock_printer.h

Issue 10142002: [Print Preview] Refactored code to support auto fit to page functionality. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/renderer/mock_printer.h
diff --git a/chrome/renderer/mock_printer.h b/chrome/renderer/mock_printer.h
index 255dbd8e6e46ab46735f3b854f30e4c75aa585a6..d75129e0801a3104894d60145ea4bc11293cb239 100644
--- a/chrome/renderer/mock_printer.h
+++ b/chrome/renderer/mock_printer.h
@@ -143,6 +143,9 @@ class MockPrinter {
bool print_to_pdf_;
int preview_request_id_;
+ // True if we want to fit the html/pdf source to paper size.
+ bool fit_to_paper_size_;
+
// Used for displaying headers and footers.
bool display_header_footer_;
string16 date_;

Powered by Google App Engine
This is Rietveld 408576698