Chromium Code Reviews| Index: printing/print_job_constants.cc |
| diff --git a/printing/print_job_constants.cc b/printing/print_job_constants.cc |
| index f0e5e77ca851bb0c2364e5b8eef98706a7e3ece6..42427223e2525949413e3e018cf1427fbd74494f 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"; |
| + |
| +// Default font name for printing the headers and footers. |
| +extern const char kSettingHeaderFooterFontName[] = "Helvetica"; |
|
kmadhusu
2011/07/26 20:27:50
Remove "extern"
Aayush Kumar
2011/07/28 17:28:41
Done.
|
| + |
| +// Default font size for printing the headers and footers. |
| +extern const int kSettingHeaderFooterFontSize = 8; |
|
kmadhusu
2011/07/26 20:27:50
ditto
Aayush Kumar
2011/07/28 17:28:41
Done.
|
| + |
| +// Number of horizontal regions for headers and footers. |
| +extern const float kSettingHeaderFooterHorizontalRegions = 3; |
|
kmadhusu
2011/07/26 20:27:50
ditto
Aayush Kumar
2011/07/28 17:28:41
Done.
|
| + |
| +// Interstice or gap between different header footer components. |
| +// Hardcoded to 0.25cm = 1/10" = 7.2points. |
| +extern const float kSettingHeaderFooterInterstice = 7.2f; |
|
kmadhusu
2011/07/26 20:27:50
ditton
Aayush Kumar
2011/07/28 17:28:41
Done.
|
| + |
| +// Key that specifies the title of the page that will be printed in the headers |
| +// and footers. |
| +extern const char kSettingHeaderFooterTitle[] = "title"; |
|
kmadhusu
2011/07/26 20:27:50
ditto
Aayush Kumar
2011/07/28 17:28:41
Done.
|
| + |
| +// Key that specifies the URL of the page that will be printed in the headers |
| +// and footers. |
| +extern const char kSettingHeaderFooterURL[] = "url"; |
|
kmadhusu
2011/07/26 20:27:50
ditto
Aayush Kumar
2011/07/28 17:28:41
Done.
|
| + |
| // Page orientation: true for landscape, false for portrait. |
| const char kSettingLandscape[] = "landscape"; |