| Index: chrome/renderer/print_web_view_helper.h
|
| diff --git a/chrome/renderer/print_web_view_helper.h b/chrome/renderer/print_web_view_helper.h
|
| index 99eb0a99b5349c1e9875494d507e61a291d1a48a..55a2e6be638d188e5fc8b1415c7fc76f5332be3a 100644
|
| --- a/chrome/renderer/print_web_view_helper.h
|
| +++ b/chrome/renderer/print_web_view_helper.h
|
| @@ -286,7 +286,6 @@ class PrintWebViewHelper
|
| int page_index,
|
| const PrintMsg_Print_Params& default_params,
|
| bool ignore_css_margins,
|
| - bool fit_to_page,
|
| double* scale_factor,
|
| printing::PageSizeMargins* page_layout_in_points);
|
|
|
| @@ -297,8 +296,7 @@ class PrintWebViewHelper
|
| const WebKit::WebNode& node,
|
| PrepareFrameAndViewForPrint* prepare,
|
| const PrintMsg_Print_Params& params,
|
| - bool ignore_css_margins,
|
| - bool fit_to_page);
|
| + bool ignore_css_margins);
|
|
|
| // Given the |device| and |canvas| to draw on, prints the appropriate headers
|
| // and footers using strings from |header_footer_info| on to the canvas.
|
| @@ -355,10 +353,6 @@ class PrintWebViewHelper
|
| bool is_print_ready_metafile_sent_;
|
| bool ignore_css_margins_;
|
|
|
| - // True if we need to auto fit to page else false.
|
| - // NOTE: When we print to pdf, we don't fit to page.
|
| - bool fit_to_page_;
|
| -
|
| // Used for scripted initiated printing blocking.
|
| base::Time last_cancelled_script_print_;
|
| int user_cancelled_scripted_print_count_;
|
| @@ -394,8 +388,7 @@ class PrintWebViewHelper
|
| // Create the print preview document. |pages| is empty to print all pages.
|
| bool CreatePreviewDocument(PrintMsg_Print_Params* params,
|
| const std::vector<int>& pages,
|
| - bool ignore_css_margins,
|
| - bool fit_to_page);
|
| + bool ignore_css_margins);
|
|
|
| // Called after a page gets rendered. |page_time| is how long the
|
| // rendering took.
|
|
|