Chromium Code Reviews| Index: chrome/common/print_messages.h |
| diff --git a/chrome/common/print_messages.h b/chrome/common/print_messages.h |
| index 0c8c48af7af27931e6c3484871a4c11451766863..f2e72eeaa334df7550d19407bfc1678888a512b5 100644 |
| --- a/chrome/common/print_messages.h |
| +++ b/chrome/common/print_messages.h |
| @@ -48,6 +48,9 @@ IPC_STRUCT_BEGIN(PrintMsg_Print_Params) |
| // Does the printer support alpha blending? |
| IPC_STRUCT_MEMBER(bool, supports_alpha_blend) |
| + |
| + // Specifies if the header and footer should be printed. |
| + IPC_STRUCT_MEMBER(bool, header_footer) |
|
kmadhusu
2011/07/14 01:50:15
display_header_footer?
Aayush Kumar
2011/07/19 01:20:30
Done.
|
| IPC_STRUCT_END() |
| IPC_STRUCT_BEGIN(PrintMsg_PrintPage_Params) |
| @@ -158,9 +161,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) |