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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 PRINTING_EXPORT extern const char kSettingPageRangeFrom[]; | 42 PRINTING_EXPORT extern const char kSettingPageRangeFrom[]; |
43 PRINTING_EXPORT extern const char kSettingPageRangeTo[]; | 43 PRINTING_EXPORT extern const char kSettingPageRangeTo[]; |
44 PRINTING_EXPORT extern const char kSettingPrinterName[]; | 44 PRINTING_EXPORT extern const char kSettingPrinterName[]; |
45 PRINTING_EXPORT extern const char kSettingPrintToPDF[]; | 45 PRINTING_EXPORT extern const char kSettingPrintToPDF[]; |
46 | 46 |
47 PRINTING_EXPORT extern const int FIRST_PAGE_INDEX; | 47 PRINTING_EXPORT extern const int FIRST_PAGE_INDEX; |
48 PRINTING_EXPORT extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; | 48 PRINTING_EXPORT extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; |
49 | 49 |
50 // Print job duplex mode values. | 50 // Print job duplex mode values. |
51 enum DuplexMode { | 51 enum DuplexMode { |
52 UNKNOWN_DUPLEX_MODE = -1, | |
53 SIMPLEX, | 52 SIMPLEX, |
54 LONG_EDGE, | 53 LONG_EDGE, |
55 SHORT_EDGE, | 54 SHORT_EDGE, |
56 }; | 55 }; |
57 | 56 |
58 // Specifies the horizontal alignment of the headers and footers. | 57 // Specifies the horizontal alignment of the headers and footers. |
59 enum HorizontalHeaderFooterPosition { | 58 enum HorizontalHeaderFooterPosition { |
60 LEFT, | 59 LEFT, |
61 CENTER, | 60 CENTER, |
62 RIGHT | 61 RIGHT |
63 }; | 62 }; |
64 | 63 |
65 // Specifies the vertical alignment of the Headers and Footers. | 64 // Specifies the vertical alignment of the Headers and Footers. |
66 enum VerticalHeaderFooterPosition { | 65 enum VerticalHeaderFooterPosition { |
67 TOP, | 66 TOP, |
68 BOTTOM | 67 BOTTOM |
69 }; | 68 }; |
70 | 69 |
71 // Print job color mode values. | 70 // Print job color mode values. |
72 enum ColorMode { | 71 enum ColorMode { |
73 GRAY = 1, | 72 GRAY = 1, |
74 COLOR, | 73 COLOR, |
75 CMYK, | 74 CMYK, |
76 }; | 75 }; |
77 | 76 |
78 } // namespace printing | 77 } // namespace printing |
79 | 78 |
80 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ | 79 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ |
OLD | NEW |