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/printing_export.h" | 9 #include "printing/printing_export.h" |
10 | 10 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 PRINTING_EXPORT extern const char kSettingPrintableAreaHeight[]; | 60 PRINTING_EXPORT extern const char kSettingPrintableAreaHeight[]; |
61 PRINTING_EXPORT extern const char kSettingPrintableAreaWidth[]; | 61 PRINTING_EXPORT extern const char kSettingPrintableAreaWidth[]; |
62 PRINTING_EXPORT extern const char kSettingPrintableAreaX[]; | 62 PRINTING_EXPORT extern const char kSettingPrintableAreaX[]; |
63 PRINTING_EXPORT extern const char kSettingPrintableAreaY[]; | 63 PRINTING_EXPORT extern const char kSettingPrintableAreaY[]; |
64 PRINTING_EXPORT extern const char kSettingPrinterDescription[]; | 64 PRINTING_EXPORT extern const char kSettingPrinterDescription[]; |
65 PRINTING_EXPORT extern const char kSettingPrinterName[]; | 65 PRINTING_EXPORT extern const char kSettingPrinterName[]; |
66 PRINTING_EXPORT extern const char kSettingPrinterOptions[]; | 66 PRINTING_EXPORT extern const char kSettingPrinterOptions[]; |
67 PRINTING_EXPORT extern const char kSettingTicket[]; | 67 PRINTING_EXPORT extern const char kSettingTicket[]; |
68 PRINTING_EXPORT extern const char kSettingShouldPrintBackgrounds[]; | 68 PRINTING_EXPORT extern const char kSettingShouldPrintBackgrounds[]; |
69 PRINTING_EXPORT extern const char kSettingShouldPrintSelectionOnly[]; | 69 PRINTING_EXPORT extern const char kSettingShouldPrintSelectionOnly[]; |
| 70 #if defined(ENABLE_BASIC_PRINTING) |
70 PRINTING_EXPORT extern const char kSettingShowSystemDialog[]; | 71 PRINTING_EXPORT extern const char kSettingShowSystemDialog[]; |
| 72 #endif |
71 | 73 |
72 PRINTING_EXPORT extern const int FIRST_PAGE_INDEX; | 74 PRINTING_EXPORT extern const int FIRST_PAGE_INDEX; |
73 PRINTING_EXPORT extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; | 75 PRINTING_EXPORT extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; |
74 PRINTING_EXPORT extern const char kSettingOpenPDFInPreview[]; | 76 PRINTING_EXPORT extern const char kSettingOpenPDFInPreview[]; |
75 | 77 |
76 #if defined (USE_CUPS) | 78 #if defined (USE_CUPS) |
77 // Printer color models | 79 // Printer color models |
78 PRINTING_EXPORT extern const char kBlack[]; | 80 PRINTING_EXPORT extern const char kBlack[]; |
79 PRINTING_EXPORT extern const char kCMYK[]; | 81 PRINTING_EXPORT extern const char kCMYK[]; |
80 PRINTING_EXPORT extern const char kKCMY[]; | 82 PRINTING_EXPORT extern const char kKCMY[]; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not | 145 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not |
144 NO_MARGINS, | 146 NO_MARGINS, |
145 PRINTABLE_AREA_MARGINS, | 147 PRINTABLE_AREA_MARGINS, |
146 CUSTOM_MARGINS, | 148 CUSTOM_MARGINS, |
147 MARGIN_TYPE_LAST = CUSTOM_MARGINS | 149 MARGIN_TYPE_LAST = CUSTOM_MARGINS |
148 }; | 150 }; |
149 | 151 |
150 } // namespace printing | 152 } // namespace printing |
151 | 153 |
152 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ | 154 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ |
OLD | NEW |