| 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 #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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 // Additional printer options. | 153 // Additional printer options. |
| 154 const char kSettingPrinterOptions[] = "printerOptions"; | 154 const char kSettingPrinterOptions[] = "printerOptions"; |
| 155 | 155 |
| 156 // Print to PDF option: true if selected, false if not. | 156 // Print to PDF option: true if selected, false if not. |
| 157 const char kSettingPrintToPDF[] = "printToPDF"; | 157 const char kSettingPrintToPDF[] = "printToPDF"; |
| 158 | 158 |
| 159 // Print using Privet option: true if destination is a Privet printer, false if | 159 // Print using Privet option: true if destination is a Privet printer, false if |
| 160 // not. | 160 // not. |
| 161 const char kSettingPrintWithPrivet[] = "printWithPrivet"; | 161 const char kSettingPrintWithPrivet[] = "printWithPrivet"; |
| 162 | 162 |
| 163 // Print using extension option: true if destination is an extension printer, |
| 164 // false if not. |
| 165 const char kSettingPrintWithExtension[] = "printWithExtension"; |
| 166 |
| 163 // Ticket option. Contains the ticket in CJT format. | 167 // Ticket option. Contains the ticket in CJT format. |
| 164 const char kSettingTicket[] = "ticket"; | 168 const char kSettingTicket[] = "ticket"; |
| 165 | 169 |
| 166 // Whether to print CSS backgrounds. | 170 // Whether to print CSS backgrounds. |
| 167 const char kSettingShouldPrintBackgrounds[] = "shouldPrintBackgrounds"; | 171 const char kSettingShouldPrintBackgrounds[] = "shouldPrintBackgrounds"; |
| 168 | 172 |
| 169 // Whether to print selection only. | 173 // Whether to print selection only. |
| 170 const char kSettingShouldPrintSelectionOnly[] = "shouldPrintSelectionOnly"; | 174 const char kSettingShouldPrintSelectionOnly[] = "shouldPrintSelectionOnly"; |
| 171 | 175 |
| 172 // Whether to print selection only. | 176 // Whether to print selection only. |
| (...skipping 18 matching lines...) Expand all Loading... |
| 191 const char kGreyscale[] = "Greyscale"; | 195 const char kGreyscale[] = "Greyscale"; |
| 192 const char kMonochrome[] = "Monochrome"; | 196 const char kMonochrome[] = "Monochrome"; |
| 193 const char kNormal[] = "Normal"; | 197 const char kNormal[] = "Normal"; |
| 194 const char kNormalGray[] = "Normal.Gray"; | 198 const char kNormalGray[] = "Normal.Gray"; |
| 195 const char kRGB[] = "RGB"; | 199 const char kRGB[] = "RGB"; |
| 196 const char kRGBA[] = "RGBA"; | 200 const char kRGBA[] = "RGBA"; |
| 197 const char kRGB16[] = "RGB16"; | 201 const char kRGB16[] = "RGB16"; |
| 198 #endif | 202 #endif |
| 199 | 203 |
| 200 } // namespace printing | 204 } // namespace printing |
| OLD | NEW |