| 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 | 169 |
| 170 // Ticket option. Contains the ticket in CJT format. | 170 // Ticket option. Contains the ticket in CJT format. |
| 171 const char kSettingTicket[] = "ticket"; | 171 const char kSettingTicket[] = "ticket"; |
| 172 | 172 |
| 173 // Whether to print CSS backgrounds. | 173 // Whether to print CSS backgrounds. |
| 174 const char kSettingShouldPrintBackgrounds[] = "shouldPrintBackgrounds"; | 174 const char kSettingShouldPrintBackgrounds[] = "shouldPrintBackgrounds"; |
| 175 | 175 |
| 176 // Whether to print selection only. | 176 // Whether to print selection only. |
| 177 const char kSettingShouldPrintSelectionOnly[] = "shouldPrintSelectionOnly"; | 177 const char kSettingShouldPrintSelectionOnly[] = "shouldPrintSelectionOnly"; |
| 178 | 178 |
| 179 // Whether to print selection only. | 179 #if defined(ENABLE_BASIC_PRINTING) |
| 180 // Whether to print using the system dialog. |
| 180 const char kSettingShowSystemDialog[] = "showSystemDialog"; | 181 const char kSettingShowSystemDialog[] = "showSystemDialog"; |
| 182 #endif |
| 181 | 183 |
| 182 // Indices used to represent first preview page and complete preview document. | 184 // Indices used to represent first preview page and complete preview document. |
| 183 const int FIRST_PAGE_INDEX = 0; | 185 const int FIRST_PAGE_INDEX = 0; |
| 184 const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1; | 186 const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1; |
| 185 | 187 |
| 186 // Whether to show PDF in view provided by OS. Implemented for MacOS only. | 188 // Whether to show PDF in view provided by OS. Implemented for MacOS only. |
| 187 const char kSettingOpenPDFInPreview[] = "OpenPDFInPreview"; | 189 const char kSettingOpenPDFInPreview[] = "OpenPDFInPreview"; |
| 188 | 190 |
| 189 #if defined (USE_CUPS) | 191 #if defined (USE_CUPS) |
| 190 const char kBlack[] = "Black"; | 192 const char kBlack[] = "Black"; |
| 191 const char kCMYK[] = "CMYK"; | 193 const char kCMYK[] = "CMYK"; |
| 192 const char kKCMY[] = "KCMY"; | 194 const char kKCMY[] = "KCMY"; |
| 193 const char kCMY_K[] = "CMY+K"; | 195 const char kCMY_K[] = "CMY+K"; |
| 194 const char kCMY[] = "CMY"; | 196 const char kCMY[] = "CMY"; |
| 195 const char kColor[] = "Color"; | 197 const char kColor[] = "Color"; |
| 196 const char kGray[] = "Gray"; | 198 const char kGray[] = "Gray"; |
| 197 const char kGrayscale[] = "Grayscale"; | 199 const char kGrayscale[] = "Grayscale"; |
| 198 const char kGreyscale[] = "Greyscale"; | 200 const char kGreyscale[] = "Greyscale"; |
| 199 const char kMonochrome[] = "Monochrome"; | 201 const char kMonochrome[] = "Monochrome"; |
| 200 const char kNormal[] = "Normal"; | 202 const char kNormal[] = "Normal"; |
| 201 const char kNormalGray[] = "Normal.Gray"; | 203 const char kNormalGray[] = "Normal.Gray"; |
| 202 const char kRGB[] = "RGB"; | 204 const char kRGB[] = "RGB"; |
| 203 const char kRGBA[] = "RGBA"; | 205 const char kRGBA[] = "RGBA"; |
| 204 const char kRGB16[] = "RGB16"; | 206 const char kRGB16[] = "RGB16"; |
| 205 #endif | 207 #endif |
| 206 | 208 |
| 207 } // namespace printing | 209 } // namespace printing |
| OLD | NEW |