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 30 matching lines...) Expand all Loading... |
41 PRINTING_EXPORT extern const char kSettingPageRangeFrom[]; | 41 PRINTING_EXPORT extern const char kSettingPageRangeFrom[]; |
42 PRINTING_EXPORT extern const char kSettingPageRangeTo[]; | 42 PRINTING_EXPORT extern const char kSettingPageRangeTo[]; |
43 PRINTING_EXPORT extern const char kSettingPreviewModifiable[]; | 43 PRINTING_EXPORT extern const char kSettingPreviewModifiable[]; |
44 PRINTING_EXPORT extern const char kSettingPrintableAreaX[]; | 44 PRINTING_EXPORT extern const char kSettingPrintableAreaX[]; |
45 PRINTING_EXPORT extern const char kSettingPrintableAreaY[]; | 45 PRINTING_EXPORT extern const char kSettingPrintableAreaY[]; |
46 PRINTING_EXPORT extern const char kSettingPrintableAreaWidth[]; | 46 PRINTING_EXPORT extern const char kSettingPrintableAreaWidth[]; |
47 PRINTING_EXPORT extern const char kSettingPrintableAreaHeight[]; | 47 PRINTING_EXPORT extern const char kSettingPrintableAreaHeight[]; |
48 PRINTING_EXPORT extern const char kSettingPrinterName[]; | 48 PRINTING_EXPORT extern const char kSettingPrinterName[]; |
49 PRINTING_EXPORT extern const char kSettingPrintToPDF[]; | 49 PRINTING_EXPORT extern const char kSettingPrintToPDF[]; |
50 PRINTING_EXPORT extern const char kSettingShouldPrintBackgrounds[]; | 50 PRINTING_EXPORT extern const char kSettingShouldPrintBackgrounds[]; |
| 51 PRINTING_EXPORT extern const char kSettingShouldPrintSelectionOnly[]; |
51 | 52 |
52 PRINTING_EXPORT extern const int FIRST_PAGE_INDEX; | 53 PRINTING_EXPORT extern const int FIRST_PAGE_INDEX; |
53 PRINTING_EXPORT extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; | 54 PRINTING_EXPORT extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; |
54 | 55 |
55 #if defined(OS_MACOSX) | 56 #if defined(OS_MACOSX) |
56 PRINTING_EXPORT extern const char kSettingOpenPDFInPreview[]; | 57 PRINTING_EXPORT extern const char kSettingOpenPDFInPreview[]; |
57 #endif // defined(OS_MACOSX) | 58 #endif // defined(OS_MACOSX) |
58 | 59 |
59 #if defined (USE_CUPS) | 60 #if defined (USE_CUPS) |
60 // Printer color models | 61 // Printer color models |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 enum MarginType { | 126 enum MarginType { |
126 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not | 127 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not |
127 NO_MARGINS, | 128 NO_MARGINS, |
128 PRINTABLE_AREA_MARGINS, | 129 PRINTABLE_AREA_MARGINS, |
129 CUSTOM_MARGINS, | 130 CUSTOM_MARGINS, |
130 }; | 131 }; |
131 | 132 |
132 } // namespace printing | 133 } // namespace printing |
133 | 134 |
134 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ | 135 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ |
OLD | NEW |