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