OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 // Printer name. | 116 // Printer name. |
117 const char kSettingPrinterName[] = "printerName"; | 117 const char kSettingPrinterName[] = "printerName"; |
118 | 118 |
119 // Print to PDF option: true if selected, false if not. | 119 // Print to PDF option: true if selected, false if not. |
120 const char kSettingPrintToPDF[] = "printToPDF"; | 120 const char kSettingPrintToPDF[] = "printToPDF"; |
121 | 121 |
122 // Indices used to represent first preview page and complete preview document. | 122 // Indices used to represent first preview page and complete preview document. |
123 const int FIRST_PAGE_INDEX = 0; | 123 const int FIRST_PAGE_INDEX = 0; |
124 const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1; | 124 const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1; |
125 | 125 |
| 126 #if defined(OS_MACOSX) |
| 127 const char kSettingOpenPDFInPreview[] = "OpenPDFInPreview"; |
| 128 #endif |
| 129 |
126 #if defined (USE_CUPS) | 130 #if defined (USE_CUPS) |
127 const char kBlack[] = "Black"; | 131 const char kBlack[] = "Black"; |
128 const char kCMYK[] = "CMYK"; | 132 const char kCMYK[] = "CMYK"; |
129 const char kKCMY[] = "KCMY"; | 133 const char kKCMY[] = "KCMY"; |
130 const char kCMY_K[] = "CMY+K"; | 134 const char kCMY_K[] = "CMY+K"; |
131 const char kCMY[] = "CMY"; | 135 const char kCMY[] = "CMY"; |
132 const char kColor[] = "Color"; | 136 const char kColor[] = "Color"; |
133 const char kGray[] = "Gray"; | 137 const char kGray[] = "Gray"; |
134 const char kGrayscale[] = "Grayscale"; | 138 const char kGrayscale[] = "Grayscale"; |
135 const char kGreyscale[] = "Greyscale"; | 139 const char kGreyscale[] = "Greyscale"; |
136 const char kMonochrome[] = "Monochrome"; | 140 const char kMonochrome[] = "Monochrome"; |
137 const char kNormal[] = "Normal"; | 141 const char kNormal[] = "Normal"; |
138 const char kNormalGray[] = "Normal.Gray"; | 142 const char kNormalGray[] = "Normal.Gray"; |
139 const char kRGB[] = "RGB"; | 143 const char kRGB[] = "RGB"; |
140 const char kRGBA[] = "RGBA"; | 144 const char kRGBA[] = "RGBA"; |
141 const char kRGB16[] = "RGB16"; | 145 const char kRGB16[] = "RGB16"; |
142 #endif | 146 #endif |
143 | 147 |
144 } // namespace printing | 148 } // namespace printing |
OLD | NEW |