Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Unified Diff: printing/print_dialog_gtk_interface.h

Issue 7348010: Added Header and Footer support using Skia (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Changes based on Kausalya's comments Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698