Remove some unused/defunct about:flags strings.
[chromium-blink-merge.git] / printing / print_job_constants.h
blob5820fc982291e2c9517349078aedc34f64c2aeab
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
3 // found in the LICENSE file.
5 #ifndef PRINTING_PRINT_JOB_CONSTANTS_H_
6 #define PRINTING_PRINT_JOB_CONSTANTS_H_
8 #include "build/build_config.h"
9 #include "printing/printing_export.h"
11 namespace printing {
13 PRINTING_EXPORT extern const char kIsFirstRequest[];
14 PRINTING_EXPORT extern const char kPreviewRequestID[];
15 PRINTING_EXPORT extern const char kPreviewInitiatorHostId[];
16 PRINTING_EXPORT extern const char kPreviewInitiatorRoutingId[];
17 PRINTING_EXPORT extern const char kPreviewUIID[];
18 PRINTING_EXPORT extern const char kSettingCapabilities[];
19 PRINTING_EXPORT extern const char kSettingCloudPrintId[];
20 PRINTING_EXPORT extern const char kSettingCloudPrintDialog[];
21 PRINTING_EXPORT extern const char kSettingCollate[];
22 PRINTING_EXPORT extern const char kSettingColor[];
23 PRINTING_EXPORT extern const char kSettingSetColorAsDefault[];
24 PRINTING_EXPORT extern const char kSettingContentHeight[];
25 PRINTING_EXPORT extern const char kSettingContentWidth[];
26 PRINTING_EXPORT extern const char kSettingCopies[];
27 PRINTING_EXPORT extern const char kSettingDeviceName[];
28 PRINTING_EXPORT extern const char kSettingDisableScaling[];
29 PRINTING_EXPORT extern const char kSettingDuplexMode[];
30 PRINTING_EXPORT extern const char kSettingFitToPageEnabled[];
31 PRINTING_EXPORT extern const char kSettingGenerateDraftData[];
32 PRINTING_EXPORT extern const char kSettingHeaderFooterEnabled[];
33 PRINTING_EXPORT extern const float kSettingHeaderFooterInterstice;
34 PRINTING_EXPORT extern const char kSettingHeaderFooterDate[];
35 PRINTING_EXPORT extern const char kSettingHeaderFooterTitle[];
36 PRINTING_EXPORT extern const char kSettingHeaderFooterURL[];
37 PRINTING_EXPORT extern const char kSettingLandscape[];
38 PRINTING_EXPORT extern const char kSettingMediaSize[];
39 PRINTING_EXPORT extern const char kSettingMediaSizeHeightMicrons[];
40 PRINTING_EXPORT extern const char kSettingMediaSizeWidthMicrons[];
41 PRINTING_EXPORT extern const char kSettingMediaSizeVendorId[];
42 PRINTING_EXPORT extern const char kSettingMediaSizeIsDefault[];
43 PRINTING_EXPORT extern const char kSettingMarginBottom[];
44 PRINTING_EXPORT extern const char kSettingMarginLeft[];
45 PRINTING_EXPORT extern const char kSettingMarginRight[];
46 PRINTING_EXPORT extern const char kSettingMarginTop[];
47 PRINTING_EXPORT extern const char kSettingMarginsCustom[];
48 PRINTING_EXPORT extern const char kSettingMarginsType[];
49 PRINTING_EXPORT extern const char kSettingPreviewPageCount[];
50 PRINTING_EXPORT extern const char kSettingPageRange[];
51 PRINTING_EXPORT extern const char kSettingPageRangeFrom[];
52 PRINTING_EXPORT extern const char kSettingPageRangeTo[];
53 PRINTING_EXPORT extern const char kSettingPageWidth[];
54 PRINTING_EXPORT extern const char kSettingPageHeight[];
55 PRINTING_EXPORT extern const char kSettingPreviewModifiable[];
56 PRINTING_EXPORT extern const char kSettingPrintToPDF[];
57 PRINTING_EXPORT extern const char kSettingPrintWithPrivet[];
58 PRINTING_EXPORT extern const char kSettingPrintableAreaHeight[];
59 PRINTING_EXPORT extern const char kSettingPrintableAreaWidth[];
60 PRINTING_EXPORT extern const char kSettingPrintableAreaX[];
61 PRINTING_EXPORT extern const char kSettingPrintableAreaY[];
62 PRINTING_EXPORT extern const char kSettingPrinterDescription[];
63 PRINTING_EXPORT extern const char kSettingPrinterName[];
64 PRINTING_EXPORT extern const char kSettingPrinterOptions[];
65 PRINTING_EXPORT extern const char kSettingTicket[];
66 PRINTING_EXPORT extern const char kSettingShouldPrintBackgrounds[];
67 PRINTING_EXPORT extern const char kSettingShouldPrintSelectionOnly[];
68 PRINTING_EXPORT extern const char kSettingShowSystemDialog[];
70 PRINTING_EXPORT extern const int FIRST_PAGE_INDEX;
71 PRINTING_EXPORT extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX;
72 PRINTING_EXPORT extern const char kSettingOpenPDFInPreview[];
74 #if defined (USE_CUPS)
75 // Printer color models
76 PRINTING_EXPORT extern const char kBlack[];
77 PRINTING_EXPORT extern const char kCMYK[];
78 PRINTING_EXPORT extern const char kKCMY[];
79 PRINTING_EXPORT extern const char kCMY_K[];
80 PRINTING_EXPORT extern const char kCMY[];
81 PRINTING_EXPORT extern const char kColor[];
82 PRINTING_EXPORT extern const char kGray[];
83 PRINTING_EXPORT extern const char kGrayscale[];
84 PRINTING_EXPORT extern const char kGreyscale[];
85 PRINTING_EXPORT extern const char kMonochrome[];
86 PRINTING_EXPORT extern const char kNormal[];
87 PRINTING_EXPORT extern const char kNormalGray[];
88 PRINTING_EXPORT extern const char kRGB[];
89 PRINTING_EXPORT extern const char kRGBA[];
90 PRINTING_EXPORT extern const char kRGB16[];
91 #endif
93 // Print job duplex mode values.
94 enum DuplexMode {
95 UNKNOWN_DUPLEX_MODE = -1,
96 SIMPLEX,
97 LONG_EDGE,
98 SHORT_EDGE,
101 // Specifies the horizontal alignment of the headers and footers.
102 enum HorizontalHeaderFooterPosition {
103 LEFT,
104 CENTER,
105 RIGHT
108 // Specifies the vertical alignment of the Headers and Footers.
109 enum VerticalHeaderFooterPosition {
110 TOP,
111 BOTTOM
114 // Print job color mode values.
115 enum ColorModel {
116 UNKNOWN_COLOR_MODEL,
117 GRAY,
118 COLOR,
119 CMYK,
120 CMY,
121 KCMY,
122 CMY_K, // CMY_K represents CMY+K.
123 BLACK,
124 GRAYSCALE,
125 RGB,
126 RGB16,
127 RGBA,
128 COLORMODE_COLOR, // Used in samsung printer ppds.
129 COLORMODE_MONOCHROME, // Used in samsung printer ppds.
130 HP_COLOR_COLOR, // Used in HP color printer ppds.
131 HP_COLOR_BLACK, // Used in HP color printer ppds.
132 PRINTOUTMODE_NORMAL, // Used in foomatic ppds.
133 PRINTOUTMODE_NORMAL_GRAY, // Used in foomatic ppds.
134 PROCESSCOLORMODEL_CMYK, // Used in canon printer ppds.
135 PROCESSCOLORMODEL_GREYSCALE, // Used in canon printer ppds.
136 PROCESSCOLORMODEL_RGB, // Used in canon printer ppds
139 // What kind of margins to use.
140 enum MarginType {
141 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not
142 NO_MARGINS,
143 PRINTABLE_AREA_MARGINS,
144 CUSTOM_MARGINS,
145 MARGIN_TYPE_LAST = CUSTOM_MARGINS
148 } // namespace printing
150 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_