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 kPreviewRequestID[]; | 10 extern const char kPreviewRequestID[]; |
11 extern const char kSettingCloudPrintId[]; | 11 extern const char kSettingCloudPrintId[]; |
12 extern const char kSettingCollate[]; | 12 extern const char kSettingCollate[]; |
13 extern const char kSettingColor[]; | 13 extern const char kSettingColor[]; |
14 extern const char kSettingCopies[]; | 14 extern const char kSettingCopies[]; |
15 extern const char kSettingDeviceName[]; | 15 extern const char kSettingDeviceName[]; |
16 extern const char kSettingDuplexMode[]; | 16 extern const char kSettingDuplexMode[]; |
| 17 extern const char kSettingGenerateDraftData[]; |
17 extern const char kSettingLandscape[]; | 18 extern const char kSettingLandscape[]; |
18 extern const char kSettingPageRange[]; | 19 extern const char kSettingPageRange[]; |
19 extern const char kSettingPageRangeFrom[]; | 20 extern const char kSettingPageRangeFrom[]; |
20 extern const char kSettingPageRangeTo[]; | 21 extern const char kSettingPageRangeTo[]; |
21 extern const char kSettingPrinterName[]; | 22 extern const char kSettingPrinterName[]; |
22 extern const char kSettingPrintToPDF[]; | 23 extern const char kSettingPrintToPDF[]; |
23 | 24 |
24 extern const int FIRST_PAGE_INDEX; | 25 extern const int FIRST_PAGE_INDEX; |
25 extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; | 26 extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; |
26 extern const int INVALID_PAGE_INDEX; | 27 extern const int INVALID_PAGE_INDEX; |
27 | 28 |
28 // Print job duplex mode values. | 29 // Print job duplex mode values. |
29 enum DuplexMode { | 30 enum DuplexMode { |
30 SIMPLEX, | 31 SIMPLEX, |
31 LONG_EDGE, | 32 LONG_EDGE, |
32 SHORT_EDGE, | 33 SHORT_EDGE, |
33 }; | 34 }; |
34 | 35 |
35 } // namespace printing | 36 } // namespace printing |
36 | 37 |
37 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ | 38 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ |
OLD | NEW |