[email protected] | c48bee2 | 2011-03-29 02:36:26 | [diff] [blame] | 1 | // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 | // Use of this source code is governed by a BSD-style license that can be | ||||
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #ifndef PRINTING_PRINT_JOB_CONSTANTS_H_ | ||||
6 | #define PRINTING_PRINT_JOB_CONSTANTS_H_ | ||||
7 | |||||
8 | namespace printing { | ||||
9 | |||||
[email protected] | 718af82 | 2011-08-12 22:11:33 | [diff] [blame] | 10 | extern const char kIsFirstRequest[]; |
[email protected] | a885135 | 2011-07-13 20:16:25 | [diff] [blame] | 11 | extern const char kPreviewRequestID[]; |
[email protected] | b579afd | 2011-07-13 00:01:27 | [diff] [blame] | 12 | extern const char kSettingCloudPrintId[]; |
[email protected] | c97e5e8 | 2011-04-05 18:50:23 | [diff] [blame] | 13 | extern const char kSettingCollate[]; |
[email protected] | c48bee2 | 2011-03-29 02:36:26 | [diff] [blame] | 14 | extern const char kSettingColor[]; |
[email protected] | c97e5e8 | 2011-04-05 18:50:23 | [diff] [blame] | 15 | extern const char kSettingCopies[]; |
[email protected] | 987e51f9 | 2011-05-04 21:10:15 | [diff] [blame] | 16 | extern const char kSettingDeviceName[]; |
[email protected] | 826e63a16 | 2011-04-20 18:00:45 | [diff] [blame] | 17 | extern const char kSettingDuplexMode[]; |
[email protected] | 55b23a0 | 2011-08-17 23:09:36 | [diff] [blame^] | 18 | extern const char kSettingHeaderFooterEnabled[]; |
19 | extern const char kSettingHeaderFooterFontFamilyName[]; | ||||
20 | extern const char kSettingHeaderFooterFontName[]; | ||||
21 | extern const int kSettingHeaderFooterFontSize; | ||||
22 | extern const float kSettingHeaderFooterHorizontalRegions; | ||||
23 | extern const float kSettingHeaderFooterInterstice; | ||||
24 | extern const char kSettingHeaderFooterDate[]; | ||||
25 | extern const char kSettingHeaderFooterTitle[]; | ||||
26 | extern const char kSettingHeaderFooterURL[]; | ||||
[email protected] | c48bee2 | 2011-03-29 02:36:26 | [diff] [blame] | 27 | extern const char kSettingLandscape[]; |
[email protected] | 06cb2388 | 2011-04-23 01:58:22 | [diff] [blame] | 28 | extern const char kSettingPageRange[]; |
29 | extern const char kSettingPageRangeFrom[]; | ||||
30 | extern const char kSettingPageRangeTo[]; | ||||
[email protected] | f803c93 | 2011-03-30 16:40:12 | [diff] [blame] | 31 | extern const char kSettingPrinterName[]; |
[email protected] | b73bb80b | 2011-04-20 01:58:39 | [diff] [blame] | 32 | extern const char kSettingPrintToPDF[]; |
[email protected] | c48bee2 | 2011-03-29 02:36:26 | [diff] [blame] | 33 | |
[email protected] | fd0b50340 | 2011-07-26 09:01:33 | [diff] [blame] | 34 | extern const int FIRST_PAGE_INDEX; |
35 | extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; | ||||
36 | extern const int INVALID_PAGE_INDEX; | ||||
37 | |||||
[email protected] | a44b0c14 | 2011-04-26 15:46:10 | [diff] [blame] | 38 | // Print job duplex mode values. |
39 | enum DuplexMode { | ||||
40 | SIMPLEX, | ||||
41 | LONG_EDGE, | ||||
42 | SHORT_EDGE, | ||||
43 | }; | ||||
44 | |||||
[email protected] | 55b23a0 | 2011-08-17 23:09:36 | [diff] [blame^] | 45 | // Specifies the horizontal alignment of the headers and footers. |
46 | enum HorizontalHeaderFooterPosition { | ||||
47 | LEFT, | ||||
48 | CENTER, | ||||
49 | RIGHT | ||||
50 | }; | ||||
51 | |||||
52 | // Specifies the vertical alignment of the Headers and Footers. | ||||
53 | enum VerticalHeaderFooterPosition { | ||||
54 | TOP, | ||||
55 | BOTTOM | ||||
56 | }; | ||||
57 | |||||
[email protected] | c48bee2 | 2011-03-29 02:36:26 | [diff] [blame] | 58 | } // namespace printing |
59 | |||||
60 | #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ |