| 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 f5f2a6a605dcd38650d55b8fcfa2ad39e6fc4e3a..6a5110e3c4188b86bf6a8d6e9068941f7d771954 100644
|
| --- a/chrome/browser/ui/webui/print_preview_handler.h
|
| +++ b/chrome/browser/ui/webui/print_preview_handler.h
|
| @@ -60,6 +60,9 @@ 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.
|
| + void HandleManageCloudPrint(const ListValue* args);
|
| +
|
| // Ask the browser to show the native printer management dialog.
|
| // |args| is unused.
|
| void HandleManagePrinters(const ListValue* args);
|
| @@ -73,8 +76,14 @@ class PrintPreviewHandler : public WebUIMessageHandler,
|
| void SendPrinterCapabilities(const DictionaryValue& settings_info);
|
|
|
| // Send the list of printers to the Web UI.
|
| - void SendPrinterList(const ListValue& printers,
|
| - const FundamentalValue& default_printer_index);
|
| + void SetupPrinterList(const ListValue& printers,
|
| + const FundamentalValue& default_printer_index);
|
| +
|
| + // Send whether cloud print integration should be enabled.
|
| + void SendCloudPrintEnabled();
|
| +
|
| + // Send the PDF data to the cloud to print.
|
| + void SendCloudPrintJob(const DictionaryValue& settings);
|
|
|
| // Helper function to get the initiator tab for the print preview tab.
|
| TabContents* GetInitiatorTab();
|
|
|