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 24 matching lines...) Expand all Loading... | |
35 | 35 |
36 // Number of copies. | 36 // Number of copies. |
37 const char kSettingCopies[] = "copies"; | 37 const char kSettingCopies[] = "copies"; |
38 | 38 |
39 // Device name: Unique printer identifier. | 39 // Device name: Unique printer identifier. |
40 const char kSettingDeviceName[] = "deviceName"; | 40 const char kSettingDeviceName[] = "deviceName"; |
41 | 41 |
42 // Print job duplex mode. | 42 // Print job duplex mode. |
43 const char kSettingDuplexMode[] = "duplex"; | 43 const char kSettingDuplexMode[] = "duplex"; |
44 | 44 |
45 // Key that specifies the fit to page option value. | |
Lei Zhang
2012/04/26 00:19:51
Let's not state the obvious. Something like the |k
kmadhusu
2012/04/26 22:18:51
Done.
| |
46 const char kSettingFitToPageEnabled[] = "fitToPageEnabled"; | |
47 | |
45 // True, when a new set of draft preview data is required. | 48 // True, when a new set of draft preview data is required. |
46 const char kSettingGenerateDraftData[] = "generateDraftData"; | 49 const char kSettingGenerateDraftData[] = "generateDraftData"; |
47 | 50 |
48 // Option to print headers and Footers: true if selected, false if not. | 51 // Option to print headers and Footers: true if selected, false if not. |
49 const char kSettingHeaderFooterEnabled[] = "headerFooterEnabled"; | 52 const char kSettingHeaderFooterEnabled[] = "headerFooterEnabled"; |
50 | 53 |
51 // Default character spacing for text while printing headers and footers. | 54 // Default character spacing for text while printing headers and footers. |
52 // (For CoreGraphics only). | 55 // (For CoreGraphics only). |
53 const int kSettingHeaderFooterCharacterSpacing = 0; | 56 const int kSettingHeaderFooterCharacterSpacing = 0; |
54 | 57 |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
145 const char kGreyscale[] = "Greyscale"; | 148 const char kGreyscale[] = "Greyscale"; |
146 const char kMonochrome[] = "Monochrome"; | 149 const char kMonochrome[] = "Monochrome"; |
147 const char kNormal[] = "Normal"; | 150 const char kNormal[] = "Normal"; |
148 const char kNormalGray[] = "Normal.Gray"; | 151 const char kNormalGray[] = "Normal.Gray"; |
149 const char kRGB[] = "RGB"; | 152 const char kRGB[] = "RGB"; |
150 const char kRGBA[] = "RGBA"; | 153 const char kRGBA[] = "RGBA"; |
151 const char kRGB16[] = "RGB16"; | 154 const char kRGB16[] = "RGB16"; |
152 #endif | 155 #endif |
153 | 156 |
154 } // namespace printing | 157 } // namespace printing |
OLD | NEW |