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

Side by Side Diff: printing/print_job_constants.h

Issue 10873097: Merge 153342 - Print preview: Use an ID instead of memory pointer string in WebUI. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1229/src/
Patch Set: Created 8 years, 3 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
« no previous file with comments | « chrome/renderer/print_web_view_helper_browsertest.cc ('k') | printing/print_job_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
11 namespace printing { 11 namespace printing {
12 12
13 PRINTING_EXPORT extern const char kIsFirstRequest[]; 13 PRINTING_EXPORT extern const char kIsFirstRequest[];
14 PRINTING_EXPORT extern const char kPreviewRequestID[]; 14 PRINTING_EXPORT extern const char kPreviewRequestID[];
15 PRINTING_EXPORT extern const char kPreviewUIAddr[]; 15 PRINTING_EXPORT extern const char kPreviewUIID[];
16 PRINTING_EXPORT extern const char kSettingCloudPrintId[]; 16 PRINTING_EXPORT extern const char kSettingCloudPrintId[];
17 PRINTING_EXPORT extern const char kSettingCloudPrintDialog[]; 17 PRINTING_EXPORT extern const char kSettingCloudPrintDialog[];
18 PRINTING_EXPORT extern const char kSettingCollate[]; 18 PRINTING_EXPORT extern const char kSettingCollate[];
19 PRINTING_EXPORT extern const char kSettingColor[]; 19 PRINTING_EXPORT extern const char kSettingColor[];
20 PRINTING_EXPORT extern const char kSettingSetColorAsDefault[]; 20 PRINTING_EXPORT extern const char kSettingSetColorAsDefault[];
21 PRINTING_EXPORT extern const char kSettingContentHeight[]; 21 PRINTING_EXPORT extern const char kSettingContentHeight[];
22 PRINTING_EXPORT extern const char kSettingContentWidth[]; 22 PRINTING_EXPORT extern const char kSettingContentWidth[];
23 PRINTING_EXPORT extern const char kSettingCopies[]; 23 PRINTING_EXPORT extern const char kSettingCopies[];
24 PRINTING_EXPORT extern const char kSettingDeviceName[]; 24 PRINTING_EXPORT extern const char kSettingDeviceName[];
25 PRINTING_EXPORT extern const char kSettingDuplexMode[]; 25 PRINTING_EXPORT extern const char kSettingDuplexMode[];
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 CMY, 109 CMY,
110 KCMY, 110 KCMY,
111 CMY_K, // CMY_K represents CMY+K. 111 CMY_K, // CMY_K represents CMY+K.
112 BLACK, 112 BLACK,
113 GRAYSCALE, 113 GRAYSCALE,
114 RGB, 114 RGB,
115 RGB16, 115 RGB16,
116 RGBA, 116 RGBA,
117 COLORMODE_COLOR, // Used in samsung printer ppds. 117 COLORMODE_COLOR, // Used in samsung printer ppds.
118 COLORMODE_MONOCHROME, // Used in samsung printer ppds. 118 COLORMODE_MONOCHROME, // Used in samsung printer ppds.
119 HP_COLOR_COLOR, // Used in HP color printer ppds. 119 HP_COLOR_COLOR, // Used in HP color printer ppds.
120 HP_COLOR_BLACK, // Used in HP color printer ppds. 120 HP_COLOR_BLACK, // Used in HP color printer ppds.
121 PRINTOUTMODE_NORMAL, // Used in foomatic ppds. 121 PRINTOUTMODE_NORMAL, // Used in foomatic ppds.
122 PRINTOUTMODE_NORMAL_GRAY, // Used in foomatic ppds. 122 PRINTOUTMODE_NORMAL_GRAY, // Used in foomatic ppds.
123 PROCESSCOLORMODEL_CMYK, // Used in canon printer ppds. 123 PROCESSCOLORMODEL_CMYK, // Used in canon printer ppds.
124 PROCESSCOLORMODEL_GREYSCALE, // Used in canon printer ppds. 124 PROCESSCOLORMODEL_GREYSCALE, // Used in canon printer ppds.
125 PROCESSCOLORMODEL_RGB, // Used in canon printer ppds 125 PROCESSCOLORMODEL_RGB, // Used in canon printer ppds
126 }; 126 };
127 127
128 // What kind of margins to use. 128 // What kind of margins to use.
129 enum MarginType { 129 enum MarginType {
130 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not 130 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not
131 NO_MARGINS, 131 NO_MARGINS,
132 PRINTABLE_AREA_MARGINS, 132 PRINTABLE_AREA_MARGINS,
133 CUSTOM_MARGINS, 133 CUSTOM_MARGINS,
134 }; 134 };
135 135
136 } // namespace printing 136 } // namespace printing
137 137
138 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ 138 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/renderer/print_web_view_helper_browsertest.cc ('k') | printing/print_job_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698