OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef PRINTING_PRINT_JOB_CONSTANTS_H_ | 5 #ifndef PRINTING_PRINT_JOB_CONSTANTS_H_ |
6 #define PRINTING_PRINT_JOB_CONSTANTS_H_ | 6 #define PRINTING_PRINT_JOB_CONSTANTS_H_ |
7 | 7 |
8 namespace printing { | 8 namespace printing { |
9 | 9 |
10 extern const char kIsFirstRequest[]; | 10 extern const char kIsFirstRequest[]; |
11 extern const char kPreviewRequestID[]; | 11 extern const char kPreviewRequestID[]; |
12 extern const char kSettingCloudPrintId[]; | 12 extern const char kSettingCloudPrintId[]; |
13 extern const char kSettingCollate[]; | 13 extern const char kSettingCollate[]; |
14 extern const char kSettingColor[]; | 14 extern const char kSettingColor[]; |
15 extern const char kSettingCopies[]; | 15 extern const char kSettingCopies[]; |
16 extern const char kSettingDeviceName[]; | 16 extern const char kSettingDeviceName[]; |
17 extern const char kSettingDuplexMode[]; | 17 extern const char kSettingDuplexMode[]; |
| 18 extern const char kSettingGenerateDraftData[]; |
18 extern const char kSettingLandscape[]; | 19 extern const char kSettingLandscape[]; |
19 extern const char kSettingPageRange[]; | 20 extern const char kSettingPageRange[]; |
20 extern const char kSettingPageRangeFrom[]; | 21 extern const char kSettingPageRangeFrom[]; |
21 extern const char kSettingPageRangeTo[]; | 22 extern const char kSettingPageRangeTo[]; |
22 extern const char kSettingPrinterName[]; | 23 extern const char kSettingPrinterName[]; |
23 extern const char kSettingPrintToPDF[]; | 24 extern const char kSettingPrintToPDF[]; |
24 | 25 |
25 extern const int FIRST_PAGE_INDEX; | 26 extern const int FIRST_PAGE_INDEX; |
26 extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; | 27 extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; |
27 extern const int INVALID_PAGE_INDEX; | 28 extern const int INVALID_PAGE_INDEX; |
28 | 29 |
29 // Print job duplex mode values. | 30 // Print job duplex mode values. |
30 enum DuplexMode { | 31 enum DuplexMode { |
31 SIMPLEX, | 32 SIMPLEX, |
32 LONG_EDGE, | 33 LONG_EDGE, |
33 SHORT_EDGE, | 34 SHORT_EDGE, |
34 }; | 35 }; |
35 | 36 |
36 } // namespace printing | 37 } // namespace printing |
37 | 38 |
38 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ | 39 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ |
OLD | NEW |