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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 79 |
80 // Key that specifies the requested media size. | 80 // Key that specifies the requested media size. |
81 const char kSettingMediaSize[] = "mediaSize"; | 81 const char kSettingMediaSize[] = "mediaSize"; |
82 | 82 |
83 // Key that specifies the requested media height in microns. | 83 // Key that specifies the requested media height in microns. |
84 const char kSettingMediaSizeHeightMicrons[] = "height_microns"; | 84 const char kSettingMediaSizeHeightMicrons[] = "height_microns"; |
85 | 85 |
86 // Key that specifies the requested media width in microns. | 86 // Key that specifies the requested media width in microns. |
87 const char kSettingMediaSizeWidthMicrons[] = "width_microns"; | 87 const char kSettingMediaSizeWidthMicrons[] = "width_microns"; |
88 | 88 |
| 89 // Key that specifies the requested media platform specific vendor id. |
| 90 const char kSettingMediaSizeVendorId[] = "vendor_id"; |
| 91 |
89 // Key that specifies the bottom margin of the page. | 92 // Key that specifies the bottom margin of the page. |
90 const char kSettingMarginBottom[] = "marginBottom"; | 93 const char kSettingMarginBottom[] = "marginBottom"; |
91 | 94 |
92 // Key that specifies the left margin of the page. | 95 // Key that specifies the left margin of the page. |
93 const char kSettingMarginLeft[] = "marginLeft"; | 96 const char kSettingMarginLeft[] = "marginLeft"; |
94 | 97 |
95 // Key that specifies the right margin of the page. | 98 // Key that specifies the right margin of the page. |
96 const char kSettingMarginRight[] = "marginRight"; | 99 const char kSettingMarginRight[] = "marginRight"; |
97 | 100 |
98 // Key that specifies the top margin of the page. | 101 // Key that specifies the top margin of the page. |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 const char kGreyscale[] = "Greyscale"; | 176 const char kGreyscale[] = "Greyscale"; |
174 const char kMonochrome[] = "Monochrome"; | 177 const char kMonochrome[] = "Monochrome"; |
175 const char kNormal[] = "Normal"; | 178 const char kNormal[] = "Normal"; |
176 const char kNormalGray[] = "Normal.Gray"; | 179 const char kNormalGray[] = "Normal.Gray"; |
177 const char kRGB[] = "RGB"; | 180 const char kRGB[] = "RGB"; |
178 const char kRGBA[] = "RGBA"; | 181 const char kRGBA[] = "RGBA"; |
179 const char kRGB16[] = "RGB16"; | 182 const char kRGB16[] = "RGB16"; |
180 #endif | 183 #endif |
181 | 184 |
182 } // namespace printing | 185 } // namespace printing |
OLD | NEW |