Index: chrome/renderer/printing/print_web_view_helper.h |
diff --git a/chrome/renderer/printing/print_web_view_helper.h b/chrome/renderer/printing/print_web_view_helper.h |
index 70fb801d8944d479bb06324cf7dabb21630c4bc8..bf54d3afc1df772ca69d044913b60530e6d2e28a 100644 |
--- a/chrome/renderer/printing/print_web_view_helper.h |
+++ b/chrome/renderer/printing/print_web_view_helper.h |
@@ -137,25 +137,6 @@ class PrintWebViewHelper |
// Returns true if the current destination printer is PRINT_TO_PDF. |
bool IsPrintToPdfRequested(const base::DictionaryValue& settings); |
- // Returns the print scaling option to retain/scale/crop the source page size |
- // to fit the printable area of the paper. |
- // |
- // We retain the source page size when the current destination printer is |
- // SAVE_AS_PDF. |
- // |
- // We crop the source page size to fit the printable area or we print only the |
- // left top page contents when |
- // (1) Source is PDF and the user has requested not to fit to printable area |
- // via |job_settings|. |
- // (2) Source is PDF. This is the first preview request and print scaling |
- // option is disabled for initiator renderer plugin. |
- // |
- // In all other cases, we scale the source page to fit the printable area. |
- blink::WebPrintScalingOption GetPrintScalingOption( |
- bool source_is_html, |
- const base::DictionaryValue& job_settings, |
- const PrintMsg_Print_Params& params); |
- |
// Initiate print preview. |
void OnInitiatePrintPreview(bool selection_only); |