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