| Index: chrome/browser/ui/webui/print_preview/print_preview_handler.h
|
| diff --git a/chrome/browser/ui/webui/print_preview/print_preview_handler.h b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
|
| index 56a737952dbf7504e6114e8e2d6f6068d083e812..fcfc22f2c8709f88fb58a0d926c45f146ea77ea5 100644
|
| --- a/chrome/browser/ui/webui/print_preview/print_preview_handler.h
|
| +++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
|
| @@ -155,6 +155,9 @@ class PrintPreviewHandler
|
| // Gets the printer capabilities. First element of |args| is the printer name.
|
| void HandleGetPrinterCapabilities(const base::ListValue* args);
|
|
|
| + // Performs printer setup. First element of |args| is the printer name.
|
| + void HandlePrinterSetup(const base::ListValue* args);
|
| +
|
| #if BUILDFLAG(ENABLE_BASIC_PRINT_DIALOG)
|
| // Asks the initiator renderer to show the native print system dialog. |args|
|
| // is unused.
|
| @@ -219,6 +222,12 @@ class PrintPreviewHandler
|
| const std::string& printer_name,
|
| std::unique_ptr<base::DictionaryValue> settings_info);
|
|
|
| + // Send the result of performing printer setup. |settings_info| contains
|
| + // printer capabilities.
|
| + void SendPrinterSetup(const std::string& callback_id,
|
| + const std::string& printer_name,
|
| + std::unique_ptr<base::DictionaryValue> settings_info);
|
| +
|
| // Send the list of printers to the Web UI.
|
| void SetupPrinterList(const printing::PrinterList& printer_list);
|
|
|
|
|