| 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/features/features.h" |
| 10 #include "printing/printing_export.h" | 10 #include "printing/printing_export.h" |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 COLOR, | 125 COLOR, |
| 126 CMYK, | 126 CMYK, |
| 127 CMY, | 127 CMY, |
| 128 KCMY, | 128 KCMY, |
| 129 CMY_K, // CMY_K represents CMY+K. | 129 CMY_K, // CMY_K represents CMY+K. |
| 130 BLACK, | 130 BLACK, |
| 131 GRAYSCALE, | 131 GRAYSCALE, |
| 132 RGB, | 132 RGB, |
| 133 RGB16, | 133 RGB16, |
| 134 RGBA, | 134 RGBA, |
| 135 COLORMODE_COLOR, // Used in samsung printer ppds. | 135 COLORMODE_COLOR, // Used in Samsung printer PPDs. |
| 136 COLORMODE_MONOCHROME, // Used in samsung printer ppds. | 136 COLORMODE_MONOCHROME, // Used in Samsung printer PPDs. |
| 137 HP_COLOR_COLOR, // Used in HP color printer ppds. | 137 HP_COLOR_COLOR, // Used in HP color printer PPDs. |
| 138 HP_COLOR_BLACK, // Used in HP color printer ppds. | 138 HP_COLOR_BLACK, // Used in HP color printer PPDs. |
| 139 PRINTOUTMODE_NORMAL, // Used in foomatic ppds. | 139 PRINTOUTMODE_NORMAL, // Used in Foomatic PPDs. |
| 140 PRINTOUTMODE_NORMAL_GRAY, // Used in foomatic ppds. | 140 PRINTOUTMODE_NORMAL_GRAY, // Used in Foomatic PPDs. |
| 141 PROCESSCOLORMODEL_CMYK, // Used in canon printer ppds. | 141 PROCESSCOLORMODEL_CMYK, // Used in Canon printer PPDs. |
| 142 PROCESSCOLORMODEL_GREYSCALE, // Used in canon printer ppds. | 142 PROCESSCOLORMODEL_GREYSCALE, // Used in Canon printer PPDs. |
| 143 PROCESSCOLORMODEL_RGB, // Used in canon printer ppds | 143 PROCESSCOLORMODEL_RGB, // Used in Canon printer PPDs |
| 144 BROTHER_COLOR_COLOR, // Used in Brother color printer PPDs. |
| 145 BROTHER_COLOR_BLACK, // Used in Brother color printer PPDs. |
| 144 }; | 146 }; |
| 145 | 147 |
| 146 // What kind of margins to use. | 148 // What kind of margins to use. |
| 147 enum MarginType { | 149 enum MarginType { |
| 148 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not | 150 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not |
| 149 NO_MARGINS, | 151 NO_MARGINS, |
| 150 PRINTABLE_AREA_MARGINS, | 152 PRINTABLE_AREA_MARGINS, |
| 151 CUSTOM_MARGINS, | 153 CUSTOM_MARGINS, |
| 152 MARGIN_TYPE_LAST = CUSTOM_MARGINS | 154 MARGIN_TYPE_LAST = CUSTOM_MARGINS |
| 153 }; | 155 }; |
| 154 | 156 |
| 155 } // namespace printing | 157 } // namespace printing |
| 156 | 158 |
| 157 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ | 159 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ |
| OLD | NEW |