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

Side by Side Diff: printing/print_job_constants.cc

Issue 8138020: PrintPreview: Fix printer color settings issues based on printer ppd/schema information. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review comments 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 | « printing/print_job_constants.h ('k') | printing/print_settings.h » ('j') | 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 #include "printing/print_job_constants.h" 5 #include "printing/print_job_constants.h"
6 6
7 namespace printing { 7 namespace printing {
8 8
9 // True if this is the first preview request. 9 // True if this is the first preview request.
10 const char kIsFirstRequest[] = "isFirstRequest"; 10 const char kIsFirstRequest[] = "isFirstRequest";
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 // Printer name. 114 // Printer name.
115 const char kSettingPrinterName[] = "printerName"; 115 const char kSettingPrinterName[] = "printerName";
116 116
117 // Print to PDF option: true if selected, false if not. 117 // Print to PDF option: true if selected, false if not.
118 const char kSettingPrintToPDF[] = "printToPDF"; 118 const char kSettingPrintToPDF[] = "printToPDF";
119 119
120 // Indices used to represent first preview page and complete preview document. 120 // Indices used to represent first preview page and complete preview document.
121 const int FIRST_PAGE_INDEX = 0; 121 const int FIRST_PAGE_INDEX = 0;
122 const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1; 122 const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1;
123 123
124 #if defined (USE_CUPS)
125 const char kBlack[] = "Black";
126 const char kCMYK[] = "CMYK";
127 const char kKCMY[] = "KCMY";
128 const char kCMY_K[] = "CMY+K";
129 const char kCMY[] = "CMY";
130 const char kColor[] = "Color";
131 const char kGray[] = "Gray";
132 const char kGrayscale[] = "Grayscale";
133 const char kGreyscale[] = "Greyscale";
134 const char kMonochrome[] = "Monochrome";
135 const char kNormal[] = "Normal";
136 const char kNormalGray[] = "Normal.Gray";
137 const char kRGB[] = "RGB";
138 const char kRGBA[] = "RGBA";
139 const char kRGB16[] = "RGB16";
140 #endif
141
124 } // namespace printing 142 } // namespace printing
OLDNEW
« no previous file with comments | « printing/print_job_constants.h ('k') | printing/print_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698