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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 | 88 |
89 // Key that specifies the requested media height in microns. | 89 // Key that specifies the requested media height in microns. |
90 const char kSettingMediaSizeHeightMicrons[] = "height_microns"; | 90 const char kSettingMediaSizeHeightMicrons[] = "height_microns"; |
91 | 91 |
92 // Key that specifies the requested media width in microns. | 92 // Key that specifies the requested media width in microns. |
93 const char kSettingMediaSizeWidthMicrons[] = "width_microns"; | 93 const char kSettingMediaSizeWidthMicrons[] = "width_microns"; |
94 | 94 |
95 // Key that specifies the requested media platform specific vendor id. | 95 // Key that specifies the requested media platform specific vendor id. |
96 const char kSettingMediaSizeVendorId[] = "vendor_id"; | 96 const char kSettingMediaSizeVendorId[] = "vendor_id"; |
97 | 97 |
| 98 // Key that specifies whether the requested media is a default one. |
| 99 const char kSettingMediaSizeIsDefault[] = "is_default"; |
| 100 |
98 // Key that specifies the bottom margin of the page. | 101 // Key that specifies the bottom margin of the page. |
99 const char kSettingMarginBottom[] = "marginBottom"; | 102 const char kSettingMarginBottom[] = "marginBottom"; |
100 | 103 |
101 // Key that specifies the left margin of the page. | 104 // Key that specifies the left margin of the page. |
102 const char kSettingMarginLeft[] = "marginLeft"; | 105 const char kSettingMarginLeft[] = "marginLeft"; |
103 | 106 |
104 // Key that specifies the right margin of the page. | 107 // Key that specifies the right margin of the page. |
105 const char kSettingMarginRight[] = "marginRight"; | 108 const char kSettingMarginRight[] = "marginRight"; |
106 | 109 |
107 // Key that specifies the top margin of the page. | 110 // Key that specifies the top margin of the page. |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 const char kGreyscale[] = "Greyscale"; | 188 const char kGreyscale[] = "Greyscale"; |
186 const char kMonochrome[] = "Monochrome"; | 189 const char kMonochrome[] = "Monochrome"; |
187 const char kNormal[] = "Normal"; | 190 const char kNormal[] = "Normal"; |
188 const char kNormalGray[] = "Normal.Gray"; | 191 const char kNormalGray[] = "Normal.Gray"; |
189 const char kRGB[] = "RGB"; | 192 const char kRGB[] = "RGB"; |
190 const char kRGBA[] = "RGBA"; | 193 const char kRGBA[] = "RGBA"; |
191 const char kRGB16[] = "RGB16"; | 194 const char kRGB16[] = "RGB16"; |
192 #endif | 195 #endif |
193 | 196 |
194 } // namespace printing | 197 } // namespace printing |
OLD | NEW |