From 55b23a0e5ac8b7e29ba56892d302286856b7f98a Mon Sep 17 00:00:00 2001 From: "aayushkumar@chromium.org" <aayushkumar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> Date: Wed, 17 Aug 2011 23:09:36 +0000 Subject: 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 --- printing/print_job_constants.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'printing/print_job_constants.h') diff --git a/printing/print_job_constants.h b/printing/print_job_constants.h index 1997673..89a6e64 100644 --- a/printing/print_job_constants.h +++ b/printing/print_job_constants.h @@ -15,6 +15,15 @@ extern const char kSettingColor[]; extern const char kSettingCopies[]; extern const char kSettingDeviceName[]; extern const char kSettingDuplexMode[]; +extern const char kSettingHeaderFooterEnabled[]; +extern const char kSettingHeaderFooterFontFamilyName[]; +extern const char kSettingHeaderFooterFontName[]; +extern const int kSettingHeaderFooterFontSize; +extern const float kSettingHeaderFooterHorizontalRegions; +extern const float kSettingHeaderFooterInterstice; +extern const char kSettingHeaderFooterDate[]; +extern const char kSettingHeaderFooterTitle[]; +extern const char kSettingHeaderFooterURL[]; extern const char kSettingLandscape[]; extern const char kSettingPageRange[]; extern const char kSettingPageRangeFrom[]; @@ -33,6 +42,19 @@ enum DuplexMode { SHORT_EDGE, }; +// Specifies the horizontal alignment of the headers and footers. +enum HorizontalHeaderFooterPosition { + LEFT, + CENTER, + RIGHT +}; + +// Specifies the vertical alignment of the Headers and Footers. +enum VerticalHeaderFooterPosition { + TOP, + BOTTOM +}; + } // namespace printing #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ -- cgit v1.1