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