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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 // Number of copies. | 48 // Number of copies. |
49 const char kSettingCopies[] = "copies"; | 49 const char kSettingCopies[] = "copies"; |
50 | 50 |
51 // Device name: Unique printer identifier. | 51 // Device name: Unique printer identifier. |
52 const char kSettingDeviceName[] = "deviceName"; | 52 const char kSettingDeviceName[] = "deviceName"; |
53 | 53 |
54 // Option to disable scaling. True if scaling is disabled else false. | 54 // Option to disable scaling. True if scaling is disabled else false. |
55 const char kSettingDisableScaling[] = "disableScaling"; | 55 const char kSettingDisableScaling[] = "disableScaling"; |
56 | 56 |
| 57 // Option to print a distilled page: true if requested, false if not. |
| 58 const char kSettingDistillPageEnabled[] = "distillPage"; |
| 59 |
57 // Print job duplex mode. | 60 // Print job duplex mode. |
58 const char kSettingDuplexMode[] = "duplex"; | 61 const char kSettingDuplexMode[] = "duplex"; |
59 | 62 |
60 // Option to fit source page contents to printer paper size: true if | 63 // Option to fit source page contents to printer paper size: true if |
61 // selected else false. | 64 // selected else false. |
62 const char kSettingFitToPageEnabled[] = "fitToPageEnabled"; | 65 const char kSettingFitToPageEnabled[] = "fitToPageEnabled"; |
63 | 66 |
64 // True, when a new set of draft preview data is required. | 67 // True, when a new set of draft preview data is required. |
65 const char kSettingGenerateDraftData[] = "generateDraftData"; | 68 const char kSettingGenerateDraftData[] = "generateDraftData"; |
66 | 69 |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 const char kGreyscale[] = "Greyscale"; | 198 const char kGreyscale[] = "Greyscale"; |
196 const char kMonochrome[] = "Monochrome"; | 199 const char kMonochrome[] = "Monochrome"; |
197 const char kNormal[] = "Normal"; | 200 const char kNormal[] = "Normal"; |
198 const char kNormalGray[] = "Normal.Gray"; | 201 const char kNormalGray[] = "Normal.Gray"; |
199 const char kRGB[] = "RGB"; | 202 const char kRGB[] = "RGB"; |
200 const char kRGBA[] = "RGBA"; | 203 const char kRGBA[] = "RGBA"; |
201 const char kRGB16[] = "RGB16"; | 204 const char kRGB16[] = "RGB16"; |
202 #endif | 205 #endif |
203 | 206 |
204 } // namespace printing | 207 } // namespace printing |
OLD | NEW |