| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 PRINTING_EXPORT extern const char kRGBA[]; | 84 PRINTING_EXPORT extern const char kRGBA[]; |
| 85 PRINTING_EXPORT extern const char kRGB16[]; | 85 PRINTING_EXPORT extern const char kRGB16[]; |
| 86 #endif | 86 #endif |
| 87 | 87 |
| 88 // Print job duplex mode values. | 88 // Print job duplex mode values. |
| 89 enum DuplexMode { | 89 enum DuplexMode { |
| 90 UNKNOWN_DUPLEX_MODE = -1, | 90 UNKNOWN_DUPLEX_MODE = -1, |
| 91 SIMPLEX, | 91 SIMPLEX, |
| 92 LONG_EDGE, | 92 LONG_EDGE, |
| 93 SHORT_EDGE, | 93 SHORT_EDGE, |
| 94 DUPLEX_MODE_LAST = SHORT_EDGE |
| 94 }; | 95 }; |
| 95 | 96 |
| 96 // Specifies the horizontal alignment of the headers and footers. | 97 // Specifies the horizontal alignment of the headers and footers. |
| 97 enum HorizontalHeaderFooterPosition { | 98 enum HorizontalHeaderFooterPosition { |
| 98 LEFT, | 99 LEFT, |
| 99 CENTER, | 100 CENTER, |
| 100 RIGHT | 101 RIGHT |
| 101 }; | 102 }; |
| 102 | 103 |
| 103 // Specifies the vertical alignment of the Headers and Footers. | 104 // Specifies the vertical alignment of the Headers and Footers. |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not | 137 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not |
| 137 NO_MARGINS, | 138 NO_MARGINS, |
| 138 PRINTABLE_AREA_MARGINS, | 139 PRINTABLE_AREA_MARGINS, |
| 139 CUSTOM_MARGINS, | 140 CUSTOM_MARGINS, |
| 140 MARGIN_TYPE_LAST = CUSTOM_MARGINS | 141 MARGIN_TYPE_LAST = CUSTOM_MARGINS |
| 141 }; | 142 }; |
| 142 | 143 |
| 143 } // namespace printing | 144 } // namespace printing |
| 144 | 145 |
| 145 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ | 146 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ |
| OLD | NEW |