Index: chrome/common/print_messages.h |
diff --git a/chrome/common/print_messages.h b/chrome/common/print_messages.h |
index 8773baebc53b98e5e1db08b2064b47cfe2765f71..7568dcf3e553bc738048ac14783362641587a903 100644 |
--- a/chrome/common/print_messages.h |
+++ b/chrome/common/print_messages.h |
@@ -50,6 +50,9 @@ IPC_STRUCT_BEGIN(PrintMsg_Print_Params) |
IPC_STRUCT_MEMBER(bool, supports_alpha_blend) |
IPC_STRUCT_MEMBER(int, preview_request_id) |
+ |
+ // Specifies if the header and footer should be printed. |
+ IPC_STRUCT_MEMBER(bool, display_header_footer) |
IPC_STRUCT_END() |
IPC_STRUCT_BEGIN(PrintMsg_PrintPage_Params) |
@@ -163,9 +166,12 @@ IPC_MESSAGE_ROUTED0(PrintMsg_PreviewPrintingRequestCancelled) |
// Tells the render view to switch the CSS to print media type, renders every |
// requested pages for print preview using the given |settings|. This gets |
-// called multiple times as the user updates settings. |
-IPC_MESSAGE_ROUTED1(PrintMsg_PrintPreview, |
- DictionaryValue /* settings */) |
+// called multiple times as the user updates settings. Header Footer info |
+// contains the strings, accessible by the browser process, to be printed in |
+// the header and footer. |
+IPC_MESSAGE_ROUTED2(PrintMsg_PrintPreview, |
+ DictionaryValue /* settings */, |
+ DictionaryValue /* header_footer_info */) |
// Like PrintMsg_PrintPages, but using the print preview document's frame/node. |
IPC_MESSAGE_ROUTED0(PrintMsg_PrintForSystemDialog) |