| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 // Whether to print CSS backgrounds. | 122 // Whether to print CSS backgrounds. |
| 123 const char kSettingShouldPrintBackgrounds[] = "shouldPrintBackgrounds"; | 123 const char kSettingShouldPrintBackgrounds[] = "shouldPrintBackgrounds"; |
| 124 | 124 |
| 125 // Whether to print selection only. | 125 // Whether to print selection only. |
| 126 const char kSettingShouldPrintSelectionOnly[] = "shouldPrintSelectionOnly"; | 126 const char kSettingShouldPrintSelectionOnly[] = "shouldPrintSelectionOnly"; |
| 127 | 127 |
| 128 // Indices used to represent first preview page and complete preview document. | 128 // Indices used to represent first preview page and complete preview document. |
| 129 const int FIRST_PAGE_INDEX = 0; | 129 const int FIRST_PAGE_INDEX = 0; |
| 130 const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1; | 130 const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1; |
| 131 | 131 |
| 132 #if defined(OS_MACOSX) | |
| 133 const char kSettingOpenPDFInPreview[] = "OpenPDFInPreview"; | 132 const char kSettingOpenPDFInPreview[] = "OpenPDFInPreview"; |
| 134 #endif | |
| 135 | 133 |
| 136 #if defined (USE_CUPS) | 134 #if defined (USE_CUPS) |
| 137 const char kBlack[] = "Black"; | 135 const char kBlack[] = "Black"; |
| 138 const char kCMYK[] = "CMYK"; | 136 const char kCMYK[] = "CMYK"; |
| 139 const char kKCMY[] = "KCMY"; | 137 const char kKCMY[] = "KCMY"; |
| 140 const char kCMY_K[] = "CMY+K"; | 138 const char kCMY_K[] = "CMY+K"; |
| 141 const char kCMY[] = "CMY"; | 139 const char kCMY[] = "CMY"; |
| 142 const char kColor[] = "Color"; | 140 const char kColor[] = "Color"; |
| 143 const char kGray[] = "Gray"; | 141 const char kGray[] = "Gray"; |
| 144 const char kGrayscale[] = "Grayscale"; | 142 const char kGrayscale[] = "Grayscale"; |
| 145 const char kGreyscale[] = "Greyscale"; | 143 const char kGreyscale[] = "Greyscale"; |
| 146 const char kMonochrome[] = "Monochrome"; | 144 const char kMonochrome[] = "Monochrome"; |
| 147 const char kNormal[] = "Normal"; | 145 const char kNormal[] = "Normal"; |
| 148 const char kNormalGray[] = "Normal.Gray"; | 146 const char kNormalGray[] = "Normal.Gray"; |
| 149 const char kRGB[] = "RGB"; | 147 const char kRGB[] = "RGB"; |
| 150 const char kRGBA[] = "RGBA"; | 148 const char kRGBA[] = "RGBA"; |
| 151 const char kRGB16[] = "RGB16"; | 149 const char kRGB16[] = "RGB16"; |
| 152 #endif | 150 #endif |
| 153 | 151 |
| 154 } // namespace printing | 152 } // namespace printing |
| OLD | NEW |