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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 | 98 |
99 // A page range. | 99 // A page range. |
100 const char kSettingPageRange[] = "pageRange"; | 100 const char kSettingPageRange[] = "pageRange"; |
101 | 101 |
102 // The first page of a page range. (1-based) | 102 // The first page of a page range. (1-based) |
103 const char kSettingPageRangeFrom[] = "from"; | 103 const char kSettingPageRangeFrom[] = "from"; |
104 | 104 |
105 // The last page of a page range. (1-based) | 105 // The last page of a page range. (1-based) |
106 const char kSettingPageRangeTo[] = "to"; | 106 const char kSettingPageRangeTo[] = "to"; |
107 | 107 |
| 108 // Page size of document to print. |
| 109 const char kSettingPageWidth[] = "pageWidth"; |
| 110 const char kSettingPageHeight[] = "pageHeight"; |
| 111 |
108 const char kSettingPreviewModifiable[] = "previewModifiable"; | 112 const char kSettingPreviewModifiable[] = "previewModifiable"; |
109 | 113 |
110 // Keys that specifies the printable area details. | 114 // Keys that specifies the printable area details. |
111 const char kSettingPrintableAreaX[] = "printableAreaX"; | 115 const char kSettingPrintableAreaX[] = "printableAreaX"; |
112 const char kSettingPrintableAreaY[] = "printableAreaY"; | 116 const char kSettingPrintableAreaY[] = "printableAreaY"; |
113 const char kSettingPrintableAreaWidth[] = "printableAreaWidth"; | 117 const char kSettingPrintableAreaWidth[] = "printableAreaWidth"; |
114 const char kSettingPrintableAreaHeight[] = "printableAreaHeight"; | 118 const char kSettingPrintableAreaHeight[] = "printableAreaHeight"; |
115 | 119 |
116 // Printer name. | 120 // Printer name. |
117 const char kSettingPrinterName[] = "printerName"; | 121 const char kSettingPrinterName[] = "printerName"; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 const char kGreyscale[] = "Greyscale"; | 155 const char kGreyscale[] = "Greyscale"; |
152 const char kMonochrome[] = "Monochrome"; | 156 const char kMonochrome[] = "Monochrome"; |
153 const char kNormal[] = "Normal"; | 157 const char kNormal[] = "Normal"; |
154 const char kNormalGray[] = "Normal.Gray"; | 158 const char kNormalGray[] = "Normal.Gray"; |
155 const char kRGB[] = "RGB"; | 159 const char kRGB[] = "RGB"; |
156 const char kRGBA[] = "RGBA"; | 160 const char kRGBA[] = "RGBA"; |
157 const char kRGB16[] = "RGB16"; | 161 const char kRGB16[] = "RGB16"; |
158 #endif | 162 #endif |
159 | 163 |
160 } // namespace printing | 164 } // namespace printing |
OLD | NEW |