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

Unified Diff: chrome/common/print_messages.h

Issue 6775013: PrintPreview: While printing the preview data, set the initiator tab title as print job name. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Updated the CL. Created 9 years, 9 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/common/print_messages.h
diff --git a/chrome/common/print_messages.h b/chrome/common/print_messages.h
index 81e903e452bf8a49a9f0a3e9a7d28ca325e6a031..ac192f648c3cd5d8f4579fe64b12b666ef61c233 100644
--- a/chrome/common/print_messages.h
+++ b/chrome/common/print_messages.h
@@ -160,11 +160,13 @@ IPC_SYNC_MESSAGE_ROUTED1_1(PrintHostMsg_DuplicateSection,
base::SharedMemoryHandle /* browser handle */)
#endif
-// Tells the browser that the renderer is done calculating the number of
-// rendered pages according to the specified settings.
-IPC_MESSAGE_ROUTED2(PrintHostMsg_DidGetPrintedPagesCount,
+// Tells the browser that the renderer is done identifying the basic print job
+// information such as job title and total number of rendered pages according
+// to the specified settings.
+IPC_MESSAGE_ROUTED3(PrintHostMsg_DidGetBasicPrintJobInfo,
int /* rendered document cookie */,
- int /* number of rendered pages */)
+ int /* number of rendered pages */,
+ string16 /* job_title */)
// Sends back to the browser the rendered "printed page" that was requested by
// a ViewMsg_PrintPage message or from scripted printing. The memory handle in

Powered by Google App Engine
This is Rietveld 408576698