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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 | 116 |
117 // Keys that specifies the printable area details. | 117 // Keys that specifies the printable area details. |
118 const char kSettingPrintableAreaX[] = "printableAreaX"; | 118 const char kSettingPrintableAreaX[] = "printableAreaX"; |
119 const char kSettingPrintableAreaY[] = "printableAreaY"; | 119 const char kSettingPrintableAreaY[] = "printableAreaY"; |
120 const char kSettingPrintableAreaWidth[] = "printableAreaWidth"; | 120 const char kSettingPrintableAreaWidth[] = "printableAreaWidth"; |
121 const char kSettingPrintableAreaHeight[] = "printableAreaHeight"; | 121 const char kSettingPrintableAreaHeight[] = "printableAreaHeight"; |
122 | 122 |
123 // Printer name. | 123 // Printer name. |
124 const char kSettingPrinterName[] = "printerName"; | 124 const char kSettingPrinterName[] = "printerName"; |
125 | 125 |
| 126 // Printer description. |
| 127 const char kSettingPrinterDescription[] = "printerDescription"; |
| 128 |
| 129 // Additional printer options. |
| 130 const char kSettingPrinterOptions[] = "printerOptions"; |
| 131 |
126 // Print to PDF option: true if selected, false if not. | 132 // Print to PDF option: true if selected, false if not. |
127 const char kSettingPrintToPDF[] = "printToPDF"; | 133 const char kSettingPrintToPDF[] = "printToPDF"; |
128 | 134 |
129 // Print using Privet option: true if destination is a Privet printer, false if | 135 // Print using Privet option: true if destination is a Privet printer, false if |
130 // not. | 136 // not. |
131 const char kSettingPrintWithPrivet[] = "printWithPrivet"; | 137 const char kSettingPrintWithPrivet[] = "printWithPrivet"; |
132 | 138 |
133 // Ticket option. Contains the ticket in CJT format. | 139 // Ticket option. Contains the ticket in CJT format. |
134 const char kSettingTicket[] = "ticket"; | 140 const char kSettingTicket[] = "ticket"; |
135 | 141 |
(...skipping 22 matching lines...) Expand all Loading... |
158 const char kGreyscale[] = "Greyscale"; | 164 const char kGreyscale[] = "Greyscale"; |
159 const char kMonochrome[] = "Monochrome"; | 165 const char kMonochrome[] = "Monochrome"; |
160 const char kNormal[] = "Normal"; | 166 const char kNormal[] = "Normal"; |
161 const char kNormalGray[] = "Normal.Gray"; | 167 const char kNormalGray[] = "Normal.Gray"; |
162 const char kRGB[] = "RGB"; | 168 const char kRGB[] = "RGB"; |
163 const char kRGBA[] = "RGBA"; | 169 const char kRGBA[] = "RGBA"; |
164 const char kRGB16[] = "RGB16"; | 170 const char kRGB16[] = "RGB16"; |
165 #endif | 171 #endif |
166 | 172 |
167 } // namespace printing | 173 } // namespace printing |
OLD | NEW |