Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(435)

Side by Side Diff: printing/print_job_constants.h

Issue 388783003: Add support to send print preset options in one message (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review feedback (add DUPLEX_MODE_LAST) Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 PRINTING_EXPORT extern const char kRGBA[]; 84 PRINTING_EXPORT extern const char kRGBA[];
85 PRINTING_EXPORT extern const char kRGB16[]; 85 PRINTING_EXPORT extern const char kRGB16[];
86 #endif 86 #endif
87 87
88 // Print job duplex mode values. 88 // Print job duplex mode values.
89 enum DuplexMode { 89 enum DuplexMode {
90 UNKNOWN_DUPLEX_MODE = -1, 90 UNKNOWN_DUPLEX_MODE = -1,
91 SIMPLEX, 91 SIMPLEX,
92 LONG_EDGE, 92 LONG_EDGE,
93 SHORT_EDGE, 93 SHORT_EDGE,
94 DUPLEX_MODE_LAST = SHORT_EDGE
94 }; 95 };
95 96
96 // Specifies the horizontal alignment of the headers and footers. 97 // Specifies the horizontal alignment of the headers and footers.
97 enum HorizontalHeaderFooterPosition { 98 enum HorizontalHeaderFooterPosition {
98 LEFT, 99 LEFT,
99 CENTER, 100 CENTER,
100 RIGHT 101 RIGHT
101 }; 102 };
102 103
103 // Specifies the vertical alignment of the Headers and Footers. 104 // Specifies the vertical alignment of the Headers and Footers.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not 137 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not
137 NO_MARGINS, 138 NO_MARGINS,
138 PRINTABLE_AREA_MARGINS, 139 PRINTABLE_AREA_MARGINS,
139 CUSTOM_MARGINS, 140 CUSTOM_MARGINS,
140 MARGIN_TYPE_LAST = CUSTOM_MARGINS 141 MARGIN_TYPE_LAST = CUSTOM_MARGINS
141 }; 142 };
142 143
143 } // namespace printing 144 } // namespace printing
144 145
145 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ 146 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_
OLDNEW
« chrome/common/print_messages.h ('K') | « chrome/renderer/printing/print_web_view_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698