Index: chrome/renderer/mock_printer.h |
diff --git a/chrome/renderer/mock_printer.h b/chrome/renderer/mock_printer.h |
index d75129e0801a3104894d60145ea4bc11293cb239..7e46443081226c1243838c5319832427c36dcbe5 100644 |
--- a/chrome/renderer/mock_printer.h |
+++ b/chrome/renderer/mock_printer.h |
@@ -14,6 +14,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/string16.h" |
#include "printing/image.h" |
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebPrintScalingOption.h" |
#include "ui/gfx/rect.h" |
#include "ui/gfx/size.h" |
@@ -143,8 +144,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_; |
+ // Specifies whether to retain/crop/scale source page size to fit the |
+ // given printable area. |
+ WebKit::WebPrintScalingOption print_scaling_option_; |
// Used for displaying headers and footers. |
bool display_header_footer_; |