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 #ifndef PRINTING_PRINT_JOB_CONSTANTS_H_ | 5 #ifndef PRINTING_PRINT_JOB_CONSTANTS_H_ |
6 #define PRINTING_PRINT_JOB_CONSTANTS_H_ | 6 #define PRINTING_PRINT_JOB_CONSTANTS_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "printing/printing_export.h" | 9 #include "printing/printing_export.h" |
10 | 10 |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 | 137 |
138 // What kind of margins to use. | 138 // What kind of margins to use. |
139 enum MarginType { | 139 enum MarginType { |
140 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not | 140 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not |
141 NO_MARGINS, | 141 NO_MARGINS, |
142 PRINTABLE_AREA_MARGINS, | 142 PRINTABLE_AREA_MARGINS, |
143 CUSTOM_MARGINS, | 143 CUSTOM_MARGINS, |
144 MARGIN_TYPE_LAST = CUSTOM_MARGINS | 144 MARGIN_TYPE_LAST = CUSTOM_MARGINS |
145 }; | 145 }; |
146 | 146 |
| 147 // GetSettings() parameter. |
| 148 enum GetSettingsAskParam { |
| 149 DEFAULTS, |
| 150 ASK_USER, |
| 151 SYSTEM_SPECIFIC, |
| 152 }; |
| 153 |
147 } // namespace printing | 154 } // namespace printing |
148 | 155 |
149 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ | 156 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ |
OLD | NEW |