| 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 29 matching lines...) Expand all Loading... |
| 40 PRINTING_EXPORT extern const char kSettingPageRange[]; | 40 PRINTING_EXPORT extern const char kSettingPageRange[]; |
| 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 | 51 |
| 51 PRINTING_EXPORT extern const int FIRST_PAGE_INDEX; | 52 PRINTING_EXPORT extern const int FIRST_PAGE_INDEX; |
| 52 PRINTING_EXPORT extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; | 53 PRINTING_EXPORT extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; |
| 53 | 54 |
| 54 #if defined(OS_MACOSX) | 55 #if defined(OS_MACOSX) |
| 55 PRINTING_EXPORT extern const char kSettingOpenPDFInPreview[]; | 56 PRINTING_EXPORT extern const char kSettingOpenPDFInPreview[]; |
| 56 #endif // defined(OS_MACOSX) | 57 #endif // defined(OS_MACOSX) |
| 57 | 58 |
| 58 #if defined (USE_CUPS) | 59 #if defined (USE_CUPS) |
| 59 // Printer color models | 60 // Printer color models |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 enum MarginType { | 125 enum MarginType { |
| 125 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not | 126 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not |
| 126 NO_MARGINS, | 127 NO_MARGINS, |
| 127 PRINTABLE_AREA_MARGINS, | 128 PRINTABLE_AREA_MARGINS, |
| 128 CUSTOM_MARGINS, | 129 CUSTOM_MARGINS, |
| 129 }; | 130 }; |
| 130 | 131 |
| 131 } // namespace printing | 132 } // namespace printing |
| 132 | 133 |
| 133 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ | 134 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ |
| OLD | NEW |