Chromium Code Reviews| Index: printing/print_job_constants.cc |
| diff --git a/printing/print_job_constants.cc b/printing/print_job_constants.cc |
| index 0c50b442f923cc66040148f9f61d8db24b46dfbf..1c417a5bf340602bee179f85d3e6078df95e1617 100644 |
| --- a/printing/print_job_constants.cc |
| +++ b/printing/print_job_constants.cc |
| @@ -27,6 +27,30 @@ const char kSettingDeviceName[] = "deviceName"; |
| // Print job duplex mode. |
| const char kSettingDuplexMode[] = "duplex"; |
| +// Option to print headers and Footers: true if selected, false if not. |
| +const char kSettingHeaderFooter[] = "headerFooter"; |
|
vandebo (ex-Chrome)
2011/08/03 19:00:05
headerFooterEnabled ?
Aayush Kumar
2011/08/04 18:25:04
Done.
|
| + |
| +// Default font name for printing the headers and footers. |
| +const char kSettingHeaderFooterFontName[] = "Helvetica"; |
| + |
| +// Default font size for printing the headers and footers. |
| +const int kSettingHeaderFooterFontSize = 8; |
| + |
| +// Number of horizontal regions for headers and footers. |
| +const float kSettingHeaderFooterHorizontalRegions = 3; |
| + |
| +// Interstice or gap between different header footer components. |
| +// Hardcoded to 0.25cm = 1/10" = 7.2points. |
| +const float kSettingHeaderFooterInterstice = 7.2f; |
| + |
| +// Key that specifies the title of the page that will be printed in the headers |
| +// and footers. |
| +const char kSettingHeaderFooterTitle[] = "title"; |
| + |
| +// Key that specifies the URL of the page that will be printed in the headers |
| +// and footers. |
| +const char kSettingHeaderFooterURL[] = "url"; |
| + |
| // Page orientation: true for landscape, false for portrait. |
| const char kSettingLandscape[] = "landscape"; |