Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 106 const char kSettingPageRange[] = "pageRange"; | 106 const char kSettingPageRange[] = "pageRange"; |
| 107 | 107 |
| 108 // The first page of a page range. (1-based) | 108 // The first page of a page range. (1-based) |
| 109 const char kSettingPageRangeFrom[] = "from"; | 109 const char kSettingPageRangeFrom[] = "from"; |
| 110 | 110 |
| 111 // The last page of a page range. (1-based) | 111 // The last page of a page range. (1-based) |
| 112 const char kSettingPageRangeTo[] = "to"; | 112 const char kSettingPageRangeTo[] = "to"; |
| 113 | 113 |
| 114 const char kSettingPreviewModifiable[] = "previewModifiable"; | 114 const char kSettingPreviewModifiable[] = "previewModifiable"; |
| 115 | 115 |
| 116 // Keys that specifies the printable area details. | |
| 117 const char kSettingPrintableAreaX[] = "x"; | |
|
vandebo (ex-Chrome)
2012/03/19 17:11:30
Seems like these constants should say what they ar
kmadhusu
2012/03/19 18:45:31
Done
| |
| 118 const char kSettingPrintableAreaY[] = "y"; | |
| 119 const char kSettingPrintableAreaWidth[] = "width"; | |
| 120 const char kSettingPrintableAreaHeight[] = "height"; | |
| 121 | |
| 116 // Printer name. | 122 // Printer name. |
| 117 const char kSettingPrinterName[] = "printerName"; | 123 const char kSettingPrinterName[] = "printerName"; |
| 118 | 124 |
| 119 // Print to PDF option: true if selected, false if not. | 125 // Print to PDF option: true if selected, false if not. |
| 120 const char kSettingPrintToPDF[] = "printToPDF"; | 126 const char kSettingPrintToPDF[] = "printToPDF"; |
| 121 | 127 |
| 122 // Indices used to represent first preview page and complete preview document. | 128 // Indices used to represent first preview page and complete preview document. |
| 123 const int FIRST_PAGE_INDEX = 0; | 129 const int FIRST_PAGE_INDEX = 0; |
| 124 const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1; | 130 const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1; |
| 125 | 131 |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 139 const char kGreyscale[] = "Greyscale"; | 145 const char kGreyscale[] = "Greyscale"; |
| 140 const char kMonochrome[] = "Monochrome"; | 146 const char kMonochrome[] = "Monochrome"; |
| 141 const char kNormal[] = "Normal"; | 147 const char kNormal[] = "Normal"; |
| 142 const char kNormalGray[] = "Normal.Gray"; | 148 const char kNormalGray[] = "Normal.Gray"; |
| 143 const char kRGB[] = "RGB"; | 149 const char kRGB[] = "RGB"; |
| 144 const char kRGBA[] = "RGBA"; | 150 const char kRGBA[] = "RGBA"; |
| 145 const char kRGB16[] = "RGB16"; | 151 const char kRGB16[] = "RGB16"; |
| 146 #endif | 152 #endif |
| 147 | 153 |
| 148 } // namespace printing | 154 } // namespace printing |
| OLD | NEW |