Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(576)

Unified Diff: chrome/browser/ui/webui/print_preview/print_preview_handler.h

Issue 15716006: Fixed reporting of PrintPreview.PageCount.PrintToCloudPrintWebDialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 22246582b14f6a3fa0f64ef3a35a99b6697de995..6dde25d0e187731ae6af2e9eb6cf4f23dde95866 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_handler.h
+++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
@@ -130,8 +130,9 @@ class PrintPreviewHandler : public content::WebUIMessageHandler,
// |args| is unused.
void HandleManagePrinters(const base::ListValue* args);
- // Asks the browser to show the cloud print dialog. |args| is unused.
- void HandlePrintWithCloudPrint(const base::ListValue* args);
+ // Asks the browser to show the cloud print dialog. |args| is signle int with
+ // page count.
+ void HandlePrintWithCloudPrintDialog(const base::ListValue* args);
// Asks the browser for several settings that are needed before the first
// preview is displayed.
@@ -179,8 +180,7 @@ class PrintPreviewHandler : public content::WebUIMessageHandler,
void PrintToPdf();
// Asks the browser to show the cloud print dialog.
- void PrintWithCloudPrintDialog(const base::RefCountedBytes* data,
- const string16& title);
+ void PrintWithCloudPrintDialog();
// Gets the initiator tab for the print preview dialog.
content::WebContents* GetInitiatorTab() const;

Powered by Google App Engine
This is Rietveld 408576698