Index: printing/print_dialog_gtk_interface.h |
diff --git a/printing/print_dialog_gtk_interface.h b/printing/print_dialog_gtk_interface.h |
index 4fb9341d87687e4a34e6fab75846c73c750878aa..e4de9db3e8e3f3d0287b7d7ec67162c979403372 100644 |
--- a/printing/print_dialog_gtk_interface.h |
+++ b/printing/print_dialog_gtk_interface.h |
@@ -20,12 +20,16 @@ class PrintDialogGtkInterface { |
// Tell the dialog to use the default print setting. |
virtual void UseDefaultSettings() = 0; |
- // Update the dialog to use |settings| and |ranges|, where |settings| is a |
- // dictionary of settings with possible keys from |
- // printing/print_job_constants.h. Only used when printing without the system |
- // print dialog. E.g. for Print Preview. Returns false on error. |
- virtual bool UpdateSettings(const base::DictionaryValue& settings, |
- const PageRanges& ranges) = 0; |
+ // Update the dialog to use |settings|, |ranges| and |header_footer_info|, |
+ // where |settings| is a dictionary of settings with possible keys from |
+ // printing/print_job_constants.h. |header_footer_info| contains the header |
+ // and footer strings to be printed if requested by the user. |
+ // Only used when printing without the system print dialog. E.g. for Print |
+ // Preview. Returns false on error. |
+ virtual bool UpdateSettings( |
+ const base::DictionaryValue& settings, |
+ const PageRanges& ranges, |
+ const base::DictionaryValue& header_footer_info) = 0; |
// Shows the dialog and handles the response with |callback|. Only used when |
// printing with the native print dialog. |