OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "printing/printing_export.h" | 8 #include "printing/printing_export.h" |
9 | 9 |
10 namespace printing { | 10 namespace printing { |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 BOTTOM | 69 BOTTOM |
70 }; | 70 }; |
71 | 71 |
72 // Print job color mode values. | 72 // Print job color mode values. |
73 enum ColorMode { | 73 enum ColorMode { |
74 GRAY = 1, | 74 GRAY = 1, |
75 COLOR, | 75 COLOR, |
76 CMYK, | 76 CMYK, |
77 }; | 77 }; |
78 | 78 |
| 79 // What kind of margins to use. |
| 80 enum MarginType { |
| 81 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not. |
| 82 NO_MARGINS, |
| 83 CUSTOM_MARGINS, |
| 84 }; |
| 85 |
79 } // namespace printing | 86 } // namespace printing |
80 | 87 |
81 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ | 88 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ |
OLD | NEW |