[M120 Migration][VD] Remove accessing oom_score_adj in zygote process
[platform/framework/web/chromium-efl.git] / printing / print_job_constants.h
1 // Copyright 2012 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef PRINTING_PRINT_JOB_CONSTANTS_H_
6 #define PRINTING_PRINT_JOB_CONSTANTS_H_
7
8 #include <stdint.h>
9
10 #include "base/component_export.h"
11 #include "build/build_config.h"
12 #include "printing/buildflags/buildflags.h"
13
14 namespace printing {
15
16 COMPONENT_EXPORT(PRINTING_BASE) extern const char kIsFirstRequest[];
17 COMPONENT_EXPORT(PRINTING_BASE)
18 extern const char kPreviewRequestID[];
19 COMPONENT_EXPORT(PRINTING_BASE) extern const char kPreviewUIID[];
20 COMPONENT_EXPORT(PRINTING_BASE) extern const char kSettingBorderless[];
21 COMPONENT_EXPORT(PRINTING_BASE)
22 extern const char kSettingCapabilities[];
23 COMPONENT_EXPORT(PRINTING_BASE) extern const char kSettingCollate[];
24 COMPONENT_EXPORT(PRINTING_BASE) extern const char kSettingColor[];
25 COMPONENT_EXPORT(PRINTING_BASE)
26 extern const char kSettingSetColorAsDefault[];
27 COMPONENT_EXPORT(PRINTING_BASE)
28 extern const char kSettingContentHeight[];
29 COMPONENT_EXPORT(PRINTING_BASE)
30 extern const char kSettingContentWidth[];
31 COMPONENT_EXPORT(PRINTING_BASE) extern const char kSettingCopies[];
32 COMPONENT_EXPORT(PRINTING_BASE)
33 extern const char kSettingDeviceName[];
34 COMPONENT_EXPORT(PRINTING_BASE)
35 extern const char kSettingDisableScaling[];
36 COMPONENT_EXPORT(PRINTING_BASE)
37 extern const char kSettingDpiDefault[];
38 COMPONENT_EXPORT(PRINTING_BASE)
39 extern const char kSettingDpiHorizontal[];
40 COMPONENT_EXPORT(PRINTING_BASE)
41 extern const char kSettingDpiVertical[];
42 COMPONENT_EXPORT(PRINTING_BASE)
43 extern const char kSettingDuplexMode[];
44 COMPONENT_EXPORT(PRINTING_BASE)
45 extern const char kSettingHeaderFooterEnabled[];
46 COMPONENT_EXPORT(PRINTING_BASE)
47 extern const float kSettingHeaderFooterInterstice;
48 COMPONENT_EXPORT(PRINTING_BASE)
49 extern const char kSettingHeaderFooterDate[];
50 COMPONENT_EXPORT(PRINTING_BASE)
51 extern const char kSettingHeaderFooterTitle[];
52 COMPONENT_EXPORT(PRINTING_BASE)
53 extern const char kSettingHeaderFooterURL[];
54 COMPONENT_EXPORT(PRINTING_BASE)
55 extern const char kSettingLandscape[];
56 COMPONENT_EXPORT(PRINTING_BASE)
57 extern const char kSettingMediaSize[];
58 COMPONENT_EXPORT(PRINTING_BASE)
59 extern const char kSettingMediaSizeHeightMicrons[];
60 COMPONENT_EXPORT(PRINTING_BASE)
61 extern const char kSettingMediaSizeWidthMicrons[];
62 COMPONENT_EXPORT(PRINTING_BASE)
63 extern const char kSettingsImageableAreaLeftMicrons[];
64 COMPONENT_EXPORT(PRINTING_BASE)
65 extern const char kSettingsImageableAreaBottomMicrons[];
66 COMPONENT_EXPORT(PRINTING_BASE)
67 extern const char kSettingsImageableAreaRightMicrons[];
68 COMPONENT_EXPORT(PRINTING_BASE)
69 extern const char kSettingsImageableAreaTopMicrons[];
70 COMPONENT_EXPORT(PRINTING_BASE)
71 extern const char kSettingMediaSizeVendorId[];
72 COMPONENT_EXPORT(PRINTING_BASE)
73 extern const char kSettingMediaSizeIsDefault[];
74 COMPONENT_EXPORT(PRINTING_BASE)
75 extern const char kSettingMediaType[];
76 COMPONENT_EXPORT(PRINTING_BASE)
77 extern const char kSettingMarginBottom[];
78 COMPONENT_EXPORT(PRINTING_BASE)
79 extern const char kSettingMarginLeft[];
80 COMPONENT_EXPORT(PRINTING_BASE)
81 extern const char kSettingMarginRight[];
82 COMPONENT_EXPORT(PRINTING_BASE)
83 extern const char kSettingMarginTop[];
84 COMPONENT_EXPORT(PRINTING_BASE)
85 extern const char kSettingMarginsCustom[];
86 COMPONENT_EXPORT(PRINTING_BASE)
87 extern const char kSettingMarginsType[];
88 COMPONENT_EXPORT(PRINTING_BASE)
89 extern const char kSettingPreviewPageCount[];
90 COMPONENT_EXPORT(PRINTING_BASE)
91 extern const char kSettingPageRange[];
92 COMPONENT_EXPORT(PRINTING_BASE)
93 extern const char kSettingPageRangeFrom[];
94 COMPONENT_EXPORT(PRINTING_BASE)
95 extern const char kSettingPageRangeTo[];
96 COMPONENT_EXPORT(PRINTING_BASE)
97 extern const char kSettingPageWidth[];
98 COMPONENT_EXPORT(PRINTING_BASE)
99 extern const char kSettingPageHeight[];
100 COMPONENT_EXPORT(PRINTING_BASE)
101 extern const char kSettingPagesPerSheet[];
102 COMPONENT_EXPORT(PRINTING_BASE) extern const char kSettingPinValue[];
103 COMPONENT_EXPORT(PRINTING_BASE) extern const char kSettingPolicies[];
104 COMPONENT_EXPORT(PRINTING_BASE)
105 extern const char kSettingPreviewIsFromArc[];
106 COMPONENT_EXPORT(PRINTING_BASE)
107 extern const char kSettingPreviewModifiable[];
108 COMPONENT_EXPORT(PRINTING_BASE)
109 extern const char kSettingPrintToGoogleDrive[];
110 COMPONENT_EXPORT(PRINTING_BASE)
111 extern const char kSettingPrintableAreaHeight[];
112 COMPONENT_EXPORT(PRINTING_BASE)
113 extern const char kSettingPrintableAreaWidth[];
114 COMPONENT_EXPORT(PRINTING_BASE)
115 extern const char kSettingPrintableAreaX[];
116 COMPONENT_EXPORT(PRINTING_BASE)
117 extern const char kSettingPrintableAreaY[];
118 COMPONENT_EXPORT(PRINTING_BASE)
119 extern const char kSettingPrinterDescription[];
120 COMPONENT_EXPORT(PRINTING_BASE)
121 extern const char kSettingPrinterName[];
122 COMPONENT_EXPORT(PRINTING_BASE)
123 extern const char kSettingPrinterOptions[];
124 COMPONENT_EXPORT(PRINTING_BASE)
125 extern const char kSettingPrinterType[];
126 COMPONENT_EXPORT(PRINTING_BASE)
127 extern const char kSettingRasterizePdf[];
128 COMPONENT_EXPORT(PRINTING_BASE)
129 extern const char kSettingRasterizePdfDpi[];
130 COMPONENT_EXPORT(PRINTING_BASE)
131 extern const char kSettingScaleFactor[];
132 COMPONENT_EXPORT(PRINTING_BASE)
133 extern const char kSettingScalingType[];
134 COMPONENT_EXPORT(PRINTING_BASE) extern const char kSettingTicket[];
135 COMPONENT_EXPORT(PRINTING_BASE)
136 extern const char kSettingSendUserInfo[];
137 COMPONENT_EXPORT(PRINTING_BASE)
138 extern const char kSettingShouldPrintBackgrounds[];
139 COMPONENT_EXPORT(PRINTING_BASE)
140 extern const char kSettingShouldPrintSelectionOnly[];
141 COMPONENT_EXPORT(PRINTING_BASE)
142 extern const char kSettingShowSystemDialog[];
143 COMPONENT_EXPORT(PRINTING_BASE) extern const char kSettingUsername[];
144 COMPONENT_EXPORT(PRINTING_BASE)
145 extern const char kSettingAdvancedSettings[];
146
147 COMPONENT_EXPORT(PRINTING_BASE) extern const int FIRST_PAGE_INDEX;
148 COMPONENT_EXPORT(PRINTING_BASE)
149 extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX;
150 COMPONENT_EXPORT(PRINTING_BASE)
151 extern const char kSettingOpenPDFInPreview[];
152
153 COMPONENT_EXPORT(PRINTING_BASE)
154 extern const uint32_t kInvalidPageIndex;
155 COMPONENT_EXPORT(PRINTING_BASE) extern const uint32_t kMaxPageCount;
156
157 #if BUILDFLAG(IS_CHROMEOS)
158 COMPONENT_EXPORT(PRINTING_BASE)
159 extern const char kSettingChromeOSAccessOAuthToken[];
160
161 COMPONENT_EXPORT(PRINTING_BASE)
162 extern const char kSettingIppClientInfo[];
163 COMPONENT_EXPORT(PRINTING_BASE)
164 extern const char kSettingIppClientName[];
165 COMPONENT_EXPORT(PRINTING_BASE)
166 extern const char kSettingIppClientPatches[];
167 COMPONENT_EXPORT(PRINTING_BASE)
168 extern const char kSettingIppClientStringVersion[];
169 COMPONENT_EXPORT(PRINTING_BASE)
170 extern const char kSettingIppClientType[];
171 COMPONENT_EXPORT(PRINTING_BASE)
172 extern const char kSettingIppClientVersion[];
173 COMPONENT_EXPORT(PRINTING_BASE)
174 extern const char kSettingPrinterManuallySelected[];
175 COMPONENT_EXPORT(PRINTING_BASE)
176 extern const char kSettingPrinterStatusReason[];
177 #endif  // BUILDFLAG(IS_CHROMEOS)
178
179 // Specifies the horizontal alignment of the headers and footers.
180 enum HorizontalHeaderFooterPosition { LEFT, CENTER, RIGHT };
181
182 // Specifies the vertical alignment of the Headers and Footers.
183 enum VerticalHeaderFooterPosition { TOP, BOTTOM };
184
185 // Must match print_preview.ScalingType in
186 // chrome/browser/resources/print_preview/data/scaling.ts
187 enum ScalingType {
188   DEFAULT,
189   FIT_TO_PAGE,
190   FIT_TO_PAPER,
191   CUSTOM,
192   SCALING_TYPE_LAST = CUSTOM
193 };
194
195 }  // namespace printing
196
197 #endif  // PRINTING_PRINT_JOB_CONSTANTS_H_