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

Side by Side Diff: printing/print_job_constants.h

Issue 8428005: Print Preview: Making margin selection sticky (part 1/2). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using the correct enum type instead of int Created 9 years, 1 month 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 PRINTOUTMODE_NORMAL_GRAY, // Used in foomatic ppds. 111 PRINTOUTMODE_NORMAL_GRAY, // Used in foomatic ppds.
112 PROCESSCOLORMODEL_CMYK, // Used in canon printer ppds. 112 PROCESSCOLORMODEL_CMYK, // Used in canon printer ppds.
113 PROCESSCOLORMODEL_GREYSCALE, // Used in canon printer ppds. 113 PROCESSCOLORMODEL_GREYSCALE, // Used in canon printer ppds.
114 PROCESSCOLORMODEL_RGB, // Used in canon printer ppds 114 PROCESSCOLORMODEL_RGB, // Used in canon printer ppds
115 }; 115 };
116 116
117 // What kind of margins to use. 117 // What kind of margins to use.
118 enum MarginType { 118 enum MarginType {
119 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not 119 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not
120 NO_MARGINS, 120 NO_MARGINS,
121 PRINTABLE_AREA_MARGINS,
kmadhusu 2011/11/01 17:17:57 Can you rename this as MINIMUM_MARGINS?
dpapad 2011/11/01 17:29:14 I think that the current name is more descriptive
121 CUSTOM_MARGINS, 122 CUSTOM_MARGINS,
122 PRINTABLE_AREA_MARGINS,
123 }; 123 };
124 124
125 } // namespace printing 125 } // namespace printing
126 126
127 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ 127 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698