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 | |
60 // Print job duplex mode. | 57 // Print job duplex mode. |
61 const char kSettingDuplexMode[] = "duplex"; | 58 const char kSettingDuplexMode[] = "duplex"; |
62 | 59 |
63 // Option to fit source page contents to printer paper size: true if | 60 // Option to fit source page contents to printer paper size: true if |
64 // selected else false. | 61 // selected else false. |
65 const char kSettingFitToPageEnabled[] = "fitToPageEnabled"; | 62 const char kSettingFitToPageEnabled[] = "fitToPageEnabled"; |
66 | 63 |
67 // True, when a new set of draft preview data is required. | 64 // True, when a new set of draft preview data is required. |
68 const char kSettingGenerateDraftData[] = "generateDraftData"; | 65 const char kSettingGenerateDraftData[] = "generateDraftData"; |
69 | 66 |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 const char kGreyscale[] = "Greyscale"; | 197 const char kGreyscale[] = "Greyscale"; |
201 const char kMonochrome[] = "Monochrome"; | 198 const char kMonochrome[] = "Monochrome"; |
202 const char kNormal[] = "Normal"; | 199 const char kNormal[] = "Normal"; |
203 const char kNormalGray[] = "Normal.Gray"; | 200 const char kNormalGray[] = "Normal.Gray"; |
204 const char kRGB[] = "RGB"; | 201 const char kRGB[] = "RGB"; |
205 const char kRGBA[] = "RGBA"; | 202 const char kRGBA[] = "RGBA"; |
206 const char kRGB16[] = "RGB16"; | 203 const char kRGB16[] = "RGB16"; |
207 #endif | 204 #endif |
208 | 205 |
209 } // namespace printing | 206 } // namespace printing |
OLD | NEW |