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

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

Issue 6533006: Print Preview: Hook up the print button to initiate printing without displaying a print dialog. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Updated the CL. Created 9 years, 10 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/webui/print_preview_handler.h
diff --git a/chrome/browser/webui/print_preview_handler.h b/chrome/browser/webui/print_preview_handler.h
index 96d308a4235e09885e881f36fd41b22f15278b17..7a1c1b5421653970cbb4d18472a57a8513a1b18c 100644
--- a/chrome/browser/webui/print_preview_handler.h
+++ b/chrome/browser/webui/print_preview_handler.h
@@ -28,7 +28,8 @@ class PrintPreviewHandler : public WebUIMessageHandler,
// Get the list of printers and send it to the Web UI. |args| is unused.
void HandleGetPrinters(const ListValue* args);
- // Print the preview PDF. |args| is unused.
+ // Get the job settings from Web UI and initiate printing.
+ // First element of |args| is a job settings json string.
void HandlePrint(const ListValue* args);
// Pointer to current print system.

Powered by Google App Engine
This is Rietveld 408576698