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

Side by Side Diff: printing/print_job_constants.h

Issue 8201027: Move margin processing code to the browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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 | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698