summaryrefslogtreecommitdiffstats
path: root/printing/printing_context.h
diff options
context:
space:
mode:
authoraayushkumar@chromium.org <aayushkumar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-17 23:09:36 +0000
committeraayushkumar@chromium.org <aayushkumar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-17 23:09:36 +0000
commit55b23a0e5ac8b7e29ba56892d302286856b7f98a (patch)
treea8eafe6383ba93551cf8ca4bbd262ab2cee3c7cc /printing/printing_context.h
parent4e8e0d15fcc521d60b489dd829084c0507ec57bc (diff)
downloadchromium_src-55b23a0e5ac8b7e29ba56892d302286856b7f98a.zip
chromium_src-55b23a0e5ac8b7e29ba56892d302286856b7f98a.tar.gz
chromium_src-55b23a0e5ac8b7e29ba56892d302286856b7f98a.tar.bz2
Added Header and Footer support in Linux, Windows and Mac for Skia
BUG=67514 TEST= In the preview tab, note added options for printing headers and footers. Toggle with the checkbox and ensure that the correct headers and footers are displayed. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97219 Review URL: http://codereview.chromium.org/7348010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97233 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/printing_context.h')
-rw-r--r--printing/printing_context.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/printing/printing_context.h b/printing/printing_context.h
index dd7e058..c7184e7 100644
--- a/printing/printing_context.h
+++ b/printing/printing_context.h
@@ -51,10 +51,16 @@ class PrintingContext {
// default device settings.
virtual Result UseDefaultSettings() = 0;
- // Updates print settings. |job_settings| contains all print job settings
- // information. |ranges| has the new page range settings.
- virtual Result UpdatePrintSettings(const base::DictionaryValue& job_settings,
- const PageRanges& ranges) = 0;
+ // Updates printer related settings. |job_settings| contains all print job
+ // settings information. |ranges| has the new page range settings.
+ virtual Result UpdatePrinterSettings(
+ const base::DictionaryValue& job_settings,
+ const PageRanges& ranges) = 0;
+
+ // Updates Print Settings. |job_settings| contains all print job
+ // settings information. |ranges| has the new page range settings.
+ Result UpdatePrintSettings(const base::DictionaryValue& job_settings,
+ const PageRanges& ranges);
// Initializes with predefined settings.
virtual Result InitWithSettings(const PrintSettings& settings) = 0;