| Index: chrome/browser/ui/webui/print_preview_handler.h
|
| diff --git a/chrome/browser/ui/webui/print_preview_handler.h b/chrome/browser/ui/webui/print_preview_handler.h
|
| index 0d9140936d295c00b1af5745e9ac86fbfb735fa7..eb1fa1fb217e632cd542a2518207eb72316974d5 100644
|
| --- a/chrome/browser/ui/webui/print_preview_handler.h
|
| +++ b/chrome/browser/ui/webui/print_preview_handler.h
|
| @@ -6,6 +6,8 @@
|
| #define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_HANDLER_H_
|
| #pragma once
|
|
|
| +#include <string>
|
| +
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "chrome/browser/ui/shell_dialogs.h"
|
| @@ -72,6 +74,10 @@ class PrintPreviewHandler : public WebUIMessageHandler,
|
| // |args| is unused.
|
| void HandleShowSystemDialog(const ListValue* args);
|
|
|
| + // Bring up a web page to allow the user to configure cloud print.
|
| + // |args| is unused.
|
| + void HandleManageCloudPrint(const ListValue* args);
|
| +
|
| // Ask the browser to show the native printer management dialog.
|
| // |args| is unused.
|
| void HandleManagePrinters(const ListValue* args);
|
| @@ -88,7 +94,14 @@ class PrintPreviewHandler : public WebUIMessageHandler,
|
| void SendDefaultPrinter(const StringValue& default_printer);
|
|
|
| // Send the list of printers to the Web UI.
|
| - void SendPrinterList(const ListValue& printers);
|
| + void SetupPrinterList(const ListValue& printers);
|
| +
|
| + // Send whether cloud print integration should be enabled.
|
| + void SendCloudPrintEnabled();
|
| +
|
| + // Send the PDF data to the cloud to print.
|
| + void SendCloudPrintJob(const DictionaryValue& settings,
|
| + std::string print_ticket);
|
|
|
| // Helper function to get the initiator tab for the print preview tab.
|
| TabContents* GetInitiatorTab();
|
|
|