Index: chrome/browser/ui/webui/print_preview/print_preview_ui.h |
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_ui.h b/chrome/browser/ui/webui/print_preview/print_preview_ui.h |
index be4f82b75d50accba488ae80ea4e4fd65cf5d240..ced64f01e387bb2d634b47be3fb9c03f8d11c796 100644 |
--- a/chrome/browser/ui/webui/print_preview/print_preview_ui.h |
+++ b/chrome/browser/ui/webui/print_preview/print_preview_ui.h |
@@ -16,6 +16,7 @@ class PrintPreviewDataService; |
class PrintPreviewHandler; |
struct PrintHostMsg_DidGetPreviewPageCount_Params; |
struct PrintHostMsg_RequestPrintPreview_Params; |
+struct PrintHostMsg_SetOptionsFromDocument_Params; |
namespace base { |
class FilePath; |
@@ -140,9 +141,9 @@ class PrintPreviewUI : public ConstrainedWebDialogUI { |
// Reload the printers list. |
void OnReloadPrintersList(); |
- // Notifies the WebUI that the pdf print scaling option is disabled by |
- // default. |
- void OnPrintPreviewScalingDisabled(); |
+ // Notifies the WebUI to set print preset options from source PDF. |
+ void OnSetOptionsFromDocument( |
+ const PrintHostMsg_SetOptionsFromDocument_Params& params); |
// Allows tests to wait until the print preview dialog is loaded. Optionally |
// also instructs the dialog to auto-cancel, which is used for testing only. |