Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(200)

Side by Side Diff: printing/print_job_constants.h

Issue 8280002: PrintPreview: Added code to honor the grayscale color model. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/print_preview/color_settings.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/resources/print_preview/color_settings.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698