Index: chrome/common/render_messages_internal.h |
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h |
index 47b2f6e28e8d13cb7e4f8ab645e8466fbcc5286e..bfd41103a984861fed5c5ff83574eb986f83100a 100644 |
--- a/chrome/common/render_messages_internal.h |
+++ b/chrome/common/render_messages_internal.h |
@@ -131,7 +131,7 @@ IPC_MESSAGE_ROUTED0(ViewMsg_PrintNodeUnderContextMenu) |
// Tells the renderer to print the print preview tab's PDF plugin without |
// showing the print dialog. |
-IPC_MESSAGE_ROUTED0(ViewMsg_PrintForPrintPreview) |
+IPC_MESSAGE_ROUTED1(ViewMsg_PrintForPrintPreview, DictionaryValue /* settings*/) |
Lei Zhang
2011/03/02 23:28:54
nit: put the DictionaryValue on a new line to be c
kmadhusu
2011/03/04 19:39:02
Done.
|
// Tells the render view to close. |
IPC_MESSAGE_ROUTED0(ViewMsg_Close) |
@@ -1712,6 +1712,18 @@ IPC_MESSAGE_ROUTED1(ViewHostMsg_DidPrintPage, |
IPC_SYNC_MESSAGE_ROUTED0_1(ViewHostMsg_GetDefaultPrintSettings, |
ViewMsg_Print_Params /* default_settings */) |
+// The renderer wants to know the current print settings. |
+IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetCurrentPrintSettings, |
+ int /* document_cookie */, |
Lei Zhang
2011/03/02 23:28:54
ViewMsg_Print_Params already has a document cookie
kmadhusu
2011/03/04 19:39:02
Removed ViewHostMsg_GetCurrentPrintSettings Info.
|
+ ViewMsg_Print_Params /* current_settings */) |
+ |
+// The renderer wants to update the current print settings with new |
+// |job_settings|. |
+IPC_SYNC_MESSAGE_ROUTED2_1(ViewHostMsg_UpdatePrintSettings, |
+ int /* document_cookie */, |
+ DictionaryValue /* job_settings */, |
+ ViewMsg_Print_Params /* current_settings */) |
+ |
// It's the renderer that controls the printing process when it is generated |
// by javascript. This step is about showing UI to the user to select the |
// final print settings. The output parameter is the same as |