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/printing_export.h" | 10 #include "printing/printing_export.h" |
10 | 11 |
11 namespace printing { | 12 namespace printing { |
12 | 13 |
13 PRINTING_EXPORT extern const char kIsFirstRequest[]; | 14 PRINTING_EXPORT extern const char kIsFirstRequest[]; |
14 PRINTING_EXPORT extern const char kPreviewRequestID[]; | 15 PRINTING_EXPORT extern const char kPreviewRequestID[]; |
15 PRINTING_EXPORT extern const char kPreviewInitiatorHostId[]; | 16 PRINTING_EXPORT extern const char kPreviewInitiatorHostId[]; |
16 PRINTING_EXPORT extern const char kPreviewInitiatorRoutingId[]; | 17 PRINTING_EXPORT extern const char kPreviewInitiatorRoutingId[]; |
17 PRINTING_EXPORT extern const char kPreviewUIID[]; | 18 PRINTING_EXPORT extern const char kPreviewUIID[]; |
18 PRINTING_EXPORT extern const char kSettingCapabilities[]; | 19 PRINTING_EXPORT extern const char kSettingCapabilities[]; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 PRINTING_EXPORT extern const char kSettingPrintableAreaWidth[]; | 62 PRINTING_EXPORT extern const char kSettingPrintableAreaWidth[]; |
62 PRINTING_EXPORT extern const char kSettingPrintableAreaX[]; | 63 PRINTING_EXPORT extern const char kSettingPrintableAreaX[]; |
63 PRINTING_EXPORT extern const char kSettingPrintableAreaY[]; | 64 PRINTING_EXPORT extern const char kSettingPrintableAreaY[]; |
64 PRINTING_EXPORT extern const char kSettingPrinterDescription[]; | 65 PRINTING_EXPORT extern const char kSettingPrinterDescription[]; |
65 PRINTING_EXPORT extern const char kSettingPrinterName[]; | 66 PRINTING_EXPORT extern const char kSettingPrinterName[]; |
66 PRINTING_EXPORT extern const char kSettingPrinterOptions[]; | 67 PRINTING_EXPORT extern const char kSettingPrinterOptions[]; |
67 PRINTING_EXPORT extern const char kSettingScaleFactor[]; | 68 PRINTING_EXPORT extern const char kSettingScaleFactor[]; |
68 PRINTING_EXPORT extern const char kSettingTicket[]; | 69 PRINTING_EXPORT extern const char kSettingTicket[]; |
69 PRINTING_EXPORT extern const char kSettingShouldPrintBackgrounds[]; | 70 PRINTING_EXPORT extern const char kSettingShouldPrintBackgrounds[]; |
70 PRINTING_EXPORT extern const char kSettingShouldPrintSelectionOnly[]; | 71 PRINTING_EXPORT extern const char kSettingShouldPrintSelectionOnly[]; |
71 #if defined(ENABLE_BASIC_PRINTING) | 72 #if BUILDFLAG(ENABLE_BASIC_PRINTING) |
72 PRINTING_EXPORT extern const char kSettingShowSystemDialog[]; | 73 PRINTING_EXPORT extern const char kSettingShowSystemDialog[]; |
73 #endif | 74 #endif |
74 | 75 |
75 PRINTING_EXPORT extern const int FIRST_PAGE_INDEX; | 76 PRINTING_EXPORT extern const int FIRST_PAGE_INDEX; |
76 PRINTING_EXPORT extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; | 77 PRINTING_EXPORT extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; |
77 PRINTING_EXPORT extern const char kSettingOpenPDFInPreview[]; | 78 PRINTING_EXPORT extern const char kSettingOpenPDFInPreview[]; |
78 | 79 |
79 #if defined (USE_CUPS) | 80 #if defined (USE_CUPS) |
80 // Printer color models | 81 // Printer color models |
81 PRINTING_EXPORT extern const char kBlack[]; | 82 PRINTING_EXPORT extern const char kBlack[]; |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not | 147 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not |
147 NO_MARGINS, | 148 NO_MARGINS, |
148 PRINTABLE_AREA_MARGINS, | 149 PRINTABLE_AREA_MARGINS, |
149 CUSTOM_MARGINS, | 150 CUSTOM_MARGINS, |
150 MARGIN_TYPE_LAST = CUSTOM_MARGINS | 151 MARGIN_TYPE_LAST = CUSTOM_MARGINS |
151 }; | 152 }; |
152 | 153 |
153 } // namespace printing | 154 } // namespace printing |
154 | 155 |
155 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ | 156 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ |
OLD | NEW |