| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "printing/printing_export.h" | 8 #include "printing/printing_export.h" |
| 9 | 9 |
| 10 namespace printing { | 10 namespace printing { |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 // Print job color mode values. | 91 // Print job color mode values. |
| 92 enum ColorModels { | 92 enum ColorModels { |
| 93 UNKNOWN_COLOR_MODEL, | 93 UNKNOWN_COLOR_MODEL, |
| 94 GRAY, | 94 GRAY, |
| 95 COLOR, | 95 COLOR, |
| 96 CMYK, | 96 CMYK, |
| 97 CMY, | 97 CMY, |
| 98 KCMY, | 98 KCMY, |
| 99 CMY_K, // CMY_K represents CMY+K. | 99 CMY_K, // CMY_K represents CMY+K. |
| 100 BLACK, | 100 BLACK, |
| 101 GRAYSCALE, |
| 101 RGB, | 102 RGB, |
| 102 RGB16, | 103 RGB16, |
| 103 RGBA, | 104 RGBA, |
| 104 COLORMODE_COLOR, // Used in samsung printer ppds. | 105 COLORMODE_COLOR, // Used in samsung printer ppds. |
| 105 COLORMODE_MONOCHROME, // Used in samsung printer ppds. | 106 COLORMODE_MONOCHROME, // Used in samsung printer ppds. |
| 106 HP_COLOR_COLOR, // Used in HP color printer ppds. | 107 HP_COLOR_COLOR, // Used in HP color printer ppds. |
| 107 HP_COLOR_BLACK, // Used in HP color printer ppds. | 108 HP_COLOR_BLACK, // Used in HP color printer ppds. |
| 108 PRINTOUTMODE_NORMAL, // Used in foomatic ppds. | 109 PRINTOUTMODE_NORMAL, // Used in foomatic ppds. |
| 109 PRINTOUTMODE_NORMAL_GRAY, // Used in foomatic ppds. | 110 PRINTOUTMODE_NORMAL_GRAY, // Used in foomatic ppds. |
| 110 PROCESSCOLORMODEL_CMYK, // Used in canon printer ppds. | 111 PROCESSCOLORMODEL_CMYK, // Used in canon printer ppds. |
| 111 PROCESSCOLORMODEL_GREYSCALE, // Used in canon printer ppds. | 112 PROCESSCOLORMODEL_GREYSCALE, // Used in canon printer ppds. |
| 112 PROCESSCOLORMODEL_RGB, // Used in canon printer ppds | 113 PROCESSCOLORMODEL_RGB, // Used in canon printer ppds |
| 113 }; | 114 }; |
| 114 | 115 |
| 115 // What kind of margins to use. | 116 // What kind of margins to use. |
| 116 enum MarginType { | 117 enum MarginType { |
| 117 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not | 118 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not |
| 118 NO_MARGINS, | 119 NO_MARGINS, |
| 119 CUSTOM_MARGINS, | 120 CUSTOM_MARGINS, |
| 120 PRINTABLE_AREA_MARGINS, | 121 PRINTABLE_AREA_MARGINS, |
| 121 }; | 122 }; |
| 122 | 123 |
| 123 } // namespace printing | 124 } // namespace printing |
| 124 | 125 |
| 125 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ | 126 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ |
| OLD | NEW |