| 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 #include "printing/printing_export.h" | 8 #include "printing/printing_export.h" |
| 9 | 9 |
| 10 namespace printing { | 10 namespace printing { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 PRINTING_EXPORT extern const char kSettingLandscape[]; | 35 PRINTING_EXPORT extern const char kSettingLandscape[]; |
| 36 PRINTING_EXPORT extern const char kSettingMarginBottom[]; | 36 PRINTING_EXPORT extern const char kSettingMarginBottom[]; |
| 37 PRINTING_EXPORT extern const char kSettingMarginLeft[]; | 37 PRINTING_EXPORT extern const char kSettingMarginLeft[]; |
| 38 PRINTING_EXPORT extern const char kSettingMarginRight[]; | 38 PRINTING_EXPORT extern const char kSettingMarginRight[]; |
| 39 PRINTING_EXPORT extern const char kSettingMarginTop[]; | 39 PRINTING_EXPORT extern const char kSettingMarginTop[]; |
| 40 PRINTING_EXPORT extern const char kSettingMarginsCustom[]; | 40 PRINTING_EXPORT extern const char kSettingMarginsCustom[]; |
| 41 PRINTING_EXPORT extern const char kSettingMarginsType[]; | 41 PRINTING_EXPORT extern const char kSettingMarginsType[]; |
| 42 PRINTING_EXPORT extern const char kSettingPageRange[]; | 42 PRINTING_EXPORT extern const char kSettingPageRange[]; |
| 43 PRINTING_EXPORT extern const char kSettingPageRangeFrom[]; | 43 PRINTING_EXPORT extern const char kSettingPageRangeFrom[]; |
| 44 PRINTING_EXPORT extern const char kSettingPageRangeTo[]; | 44 PRINTING_EXPORT extern const char kSettingPageRangeTo[]; |
| 45 PRINTING_EXPORT extern const char kSettingPreviewModifiable[]; |
| 45 PRINTING_EXPORT extern const char kSettingPrinterName[]; | 46 PRINTING_EXPORT extern const char kSettingPrinterName[]; |
| 46 PRINTING_EXPORT extern const char kSettingPrintToPDF[]; | 47 PRINTING_EXPORT extern const char kSettingPrintToPDF[]; |
| 47 | 48 |
| 48 PRINTING_EXPORT extern const int FIRST_PAGE_INDEX; | 49 PRINTING_EXPORT extern const int FIRST_PAGE_INDEX; |
| 49 PRINTING_EXPORT extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; | 50 PRINTING_EXPORT extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; |
| 50 | 51 |
| 51 #if defined (USE_CUPS) | 52 #if defined (USE_CUPS) |
| 52 // Printer color models | 53 // Printer color models |
| 53 PRINTING_EXPORT extern const char kBlack[]; | 54 PRINTING_EXPORT extern const char kBlack[]; |
| 54 PRINTING_EXPORT extern const char kCMYK[]; | 55 PRINTING_EXPORT extern const char kCMYK[]; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 enum MarginType { | 118 enum MarginType { |
| 118 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not | 119 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not |
| 119 NO_MARGINS, | 120 NO_MARGINS, |
| 120 CUSTOM_MARGINS, | 121 CUSTOM_MARGINS, |
| 121 PRINTABLE_AREA_MARGINS, | 122 PRINTABLE_AREA_MARGINS, |
| 122 }; | 123 }; |
| 123 | 124 |
| 124 } // namespace printing | 125 } // namespace printing |
| 125 | 126 |
| 126 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ | 127 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ |
| OLD | NEW |