| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 | 44 |
| 45 // Key that specifies the width of the content area of the page. | 45 // Key that specifies the width of the content area of the page. |
| 46 const char kSettingContentWidth[] = "contentWidth"; | 46 const char kSettingContentWidth[] = "contentWidth"; |
| 47 | 47 |
| 48 // Number of copies. | 48 // Number of copies. |
| 49 const char kSettingCopies[] = "copies"; | 49 const char kSettingCopies[] = "copies"; |
| 50 | 50 |
| 51 // Device name: Unique printer identifier. | 51 // Device name: Unique printer identifier. |
| 52 const char kSettingDeviceName[] = "deviceName"; | 52 const char kSettingDeviceName[] = "deviceName"; |
| 53 | 53 |
| 54 // Option to disable scaling. True if scaling is disabled else false. |
| 55 const char kSettingDisableScaling[] = "disableScaling"; |
| 56 |
| 54 // Print job duplex mode. | 57 // Print job duplex mode. |
| 55 const char kSettingDuplexMode[] = "duplex"; | 58 const char kSettingDuplexMode[] = "duplex"; |
| 56 | 59 |
| 57 // Option to fit source page contents to printer paper size: true if | 60 // Option to fit source page contents to printer paper size: true if |
| 58 // selected else false. | 61 // selected else false. |
| 59 const char kSettingFitToPageEnabled[] = "fitToPageEnabled"; | 62 const char kSettingFitToPageEnabled[] = "fitToPageEnabled"; |
| 60 | 63 |
| 61 // True, when a new set of draft preview data is required. | 64 // True, when a new set of draft preview data is required. |
| 62 const char kSettingGenerateDraftData[] = "generateDraftData"; | 65 const char kSettingGenerateDraftData[] = "generateDraftData"; |
| 63 | 66 |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 const char kGreyscale[] = "Greyscale"; | 191 const char kGreyscale[] = "Greyscale"; |
| 189 const char kMonochrome[] = "Monochrome"; | 192 const char kMonochrome[] = "Monochrome"; |
| 190 const char kNormal[] = "Normal"; | 193 const char kNormal[] = "Normal"; |
| 191 const char kNormalGray[] = "Normal.Gray"; | 194 const char kNormalGray[] = "Normal.Gray"; |
| 192 const char kRGB[] = "RGB"; | 195 const char kRGB[] = "RGB"; |
| 193 const char kRGBA[] = "RGBA"; | 196 const char kRGBA[] = "RGBA"; |
| 194 const char kRGB16[] = "RGB16"; | 197 const char kRGB16[] = "RGB16"; |
| 195 #endif | 198 #endif |
| 196 | 199 |
| 197 } // namespace printing | 200 } // namespace printing |
| OLD | NEW |