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

Side by Side Diff: printing/print_job_constants.h

Issue 740983002: Implement window.print() on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typos, sorry Created 6 years 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 137
138 // What kind of margins to use. 138 // What kind of margins to use.
139 enum MarginType { 139 enum MarginType {
140 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not 140 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not
141 NO_MARGINS, 141 NO_MARGINS,
142 PRINTABLE_AREA_MARGINS, 142 PRINTABLE_AREA_MARGINS,
143 CUSTOM_MARGINS, 143 CUSTOM_MARGINS,
144 MARGIN_TYPE_LAST = CUSTOM_MARGINS 144 MARGIN_TYPE_LAST = CUSTOM_MARGINS
145 }; 145 };
146 146
147 // GetSettings() parameter.
148 enum GetSettingsAskParam {
dcheng 2014/11/26 19:00:53 Consider using a strongly-typed enum.
149 DEFAULTS,
150 ASK_USER,
151 SYSTEM_SPECIFIC,
152 };
153
147 } // namespace printing 154 } // namespace printing
148 155
149 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ 156 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698