| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "printing/features/features.h" | 9 #include "printing/features/features.h" |
| 10 #include "printing/printing_export.h" | 10 #include "printing/printing_export.h" |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 PRINTING_EXPORT extern const char kSettingPrintToPDF[]; | 58 PRINTING_EXPORT extern const char kSettingPrintToPDF[]; |
| 59 PRINTING_EXPORT extern const char kSettingPrintWithPrivet[]; | 59 PRINTING_EXPORT extern const char kSettingPrintWithPrivet[]; |
| 60 PRINTING_EXPORT extern const char kSettingPrintWithExtension[]; | 60 PRINTING_EXPORT extern const char kSettingPrintWithExtension[]; |
| 61 PRINTING_EXPORT extern const char kSettingPrintableAreaHeight[]; | 61 PRINTING_EXPORT extern const char kSettingPrintableAreaHeight[]; |
| 62 PRINTING_EXPORT extern const char kSettingPrintableAreaWidth[]; | 62 PRINTING_EXPORT extern const char kSettingPrintableAreaWidth[]; |
| 63 PRINTING_EXPORT extern const char kSettingPrintableAreaX[]; | 63 PRINTING_EXPORT extern const char kSettingPrintableAreaX[]; |
| 64 PRINTING_EXPORT extern const char kSettingPrintableAreaY[]; | 64 PRINTING_EXPORT extern const char kSettingPrintableAreaY[]; |
| 65 PRINTING_EXPORT extern const char kSettingPrinterDescription[]; | 65 PRINTING_EXPORT extern const char kSettingPrinterDescription[]; |
| 66 PRINTING_EXPORT extern const char kSettingPrinterName[]; | 66 PRINTING_EXPORT extern const char kSettingPrinterName[]; |
| 67 PRINTING_EXPORT extern const char kSettingPrinterOptions[]; | 67 PRINTING_EXPORT extern const char kSettingPrinterOptions[]; |
| 68 PRINTING_EXPORT extern const char kSettingRasterizePdf[]; |
| 68 PRINTING_EXPORT extern const char kSettingScaleFactor[]; | 69 PRINTING_EXPORT extern const char kSettingScaleFactor[]; |
| 69 PRINTING_EXPORT extern const char kSettingTicket[]; | 70 PRINTING_EXPORT extern const char kSettingTicket[]; |
| 70 PRINTING_EXPORT extern const char kSettingShouldPrintBackgrounds[]; | 71 PRINTING_EXPORT extern const char kSettingShouldPrintBackgrounds[]; |
| 71 PRINTING_EXPORT extern const char kSettingShouldPrintSelectionOnly[]; | 72 PRINTING_EXPORT extern const char kSettingShouldPrintSelectionOnly[]; |
| 72 #if BUILDFLAG(ENABLE_BASIC_PRINTING) | 73 #if BUILDFLAG(ENABLE_BASIC_PRINTING) |
| 73 PRINTING_EXPORT extern const char kSettingShowSystemDialog[]; | 74 PRINTING_EXPORT extern const char kSettingShowSystemDialog[]; |
| 74 #endif | 75 #endif |
| 75 | 76 |
| 76 PRINTING_EXPORT extern const int FIRST_PAGE_INDEX; | 77 PRINTING_EXPORT extern const int FIRST_PAGE_INDEX; |
| 77 PRINTING_EXPORT extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; | 78 PRINTING_EXPORT extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not | 148 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not |
| 148 NO_MARGINS, | 149 NO_MARGINS, |
| 149 PRINTABLE_AREA_MARGINS, | 150 PRINTABLE_AREA_MARGINS, |
| 150 CUSTOM_MARGINS, | 151 CUSTOM_MARGINS, |
| 151 MARGIN_TYPE_LAST = CUSTOM_MARGINS | 152 MARGIN_TYPE_LAST = CUSTOM_MARGINS |
| 152 }; | 153 }; |
| 153 | 154 |
| 154 } // namespace printing | 155 } // namespace printing |
| 155 | 156 |
| 156 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ | 157 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ |
| OLD | NEW |