| 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 6c254c86f29f84bcb72b44cf1dd8a3b14f1daee3..5367ac48a1e67528a263f3eaddb9a9092f530dc9 100644
|
| --- a/chrome/renderer/printing/print_web_view_helper.h
|
| +++ b/chrome/renderer/printing/print_web_view_helper.h
|
| @@ -101,7 +101,6 @@ class PrintWebViewHelper
|
| PREVIEW_ERROR_ZERO_PAGES,
|
| PREVIEW_ERROR_MAC_DRAFT_METAFILE_INIT_FAILED,
|
| PREVIEW_ERROR_PAGE_RENDERED_WITHOUT_METAFILE,
|
| - PREVIEW_ERROR_UPDATING_PRINT_SETTINGS,
|
| PREVIEW_ERROR_INVALID_PRINTER_SETTINGS,
|
| PREVIEW_ERROR_LAST_ENUM // Always last.
|
| };
|
| @@ -322,6 +321,11 @@ class PrintWebViewHelper
|
| // Returns true if print preview should continue, false on failure.
|
| bool PreviewPageRendered(int page_number, Metafile* metafile);
|
|
|
| + const PrintMsg_PrintPages_Params* print_pages_params() const {
|
| + return print_pages_params_.get();
|
| + }
|
| + void SetPrintPagesParams(const PrintMsg_PrintPages_Params& settings);
|
| +
|
| // WebView used only to print the selection.
|
| scoped_ptr<PrepareFrameAndViewForPrint> prep_frame_view_;
|
| bool reset_prep_frame_view_;
|
|
|