| Index: chrome/common/print_messages.h
|
| diff --git a/chrome/common/print_messages.h b/chrome/common/print_messages.h
|
| index 139b99b42234a5db149858518975c1bcea06ccb3..455de600ea04d49db1224856e33098b0164f1359 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 */)
|
|
|
| // Tells a renderer to stop blocking script initiated printing.
|
| IPC_MESSAGE_ROUTED0(PrintMsg_ResetScriptedPrintCount)
|
|
|