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

Side by Side Diff: printing/print_job_constants.cc

Issue 2524143003: Print Preview: Add option to rasterize PDFs and add JPEG compression. (Closed)
Patch Set: Clean up JS Created 4 years 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
OLDNEW
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 #include "printing/print_job_constants.h" 5 #include "printing/print_job_constants.h"
6 6
7 #include "printing/features/features.h" 7 #include "printing/features/features.h"
8 8
9 namespace printing { 9 namespace printing {
10 10
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 // not. 165 // not.
166 const char kSettingPrintWithPrivet[] = "printWithPrivet"; 166 const char kSettingPrintWithPrivet[] = "printWithPrivet";
167 167
168 // Print using extension option: true if destination is an extension printer, 168 // Print using extension option: true if destination is an extension printer,
169 // false if not. 169 // false if not.
170 const char kSettingPrintWithExtension[] = "printWithExtension"; 170 const char kSettingPrintWithExtension[] = "printWithExtension";
171 171
172 // Scaling factor 172 // Scaling factor
173 const char kSettingScaleFactor[] = "scaleFactor"; 173 const char kSettingScaleFactor[] = "scaleFactor";
174 174
175 // Scaling factor
Lei Zhang 2017/02/25 01:01:17 Copy pasta
176 const char kSettingRasterizePdf[] = "rasterizePDF";
177
175 // Ticket option. Contains the ticket in CJT format. 178 // Ticket option. Contains the ticket in CJT format.
176 const char kSettingTicket[] = "ticket"; 179 const char kSettingTicket[] = "ticket";
177 180
178 // Whether to print CSS backgrounds. 181 // Whether to print CSS backgrounds.
179 const char kSettingShouldPrintBackgrounds[] = "shouldPrintBackgrounds"; 182 const char kSettingShouldPrintBackgrounds[] = "shouldPrintBackgrounds";
180 183
181 // Whether to print selection only. 184 // Whether to print selection only.
182 const char kSettingShouldPrintSelectionOnly[] = "shouldPrintSelectionOnly"; 185 const char kSettingShouldPrintSelectionOnly[] = "shouldPrintSelectionOnly";
183 186
184 #if BUILDFLAG(ENABLE_BASIC_PRINTING) 187 #if BUILDFLAG(ENABLE_BASIC_PRINTING)
(...skipping 20 matching lines...) Expand all
205 const char kGreyscale[] = "Greyscale"; 208 const char kGreyscale[] = "Greyscale";
206 const char kMonochrome[] = "Monochrome"; 209 const char kMonochrome[] = "Monochrome";
207 const char kNormal[] = "Normal"; 210 const char kNormal[] = "Normal";
208 const char kNormalGray[] = "Normal.Gray"; 211 const char kNormalGray[] = "Normal.Gray";
209 const char kRGB[] = "RGB"; 212 const char kRGB[] = "RGB";
210 const char kRGBA[] = "RGBA"; 213 const char kRGBA[] = "RGBA";
211 const char kRGB16[] = "RGB16"; 214 const char kRGB16[] = "RGB16";
212 #endif 215 #endif
213 216
214 } // namespace printing 217 } // namespace printing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698