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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: printing/print_job_constants.h
diff --git a/printing/print_job_constants.h b/printing/print_job_constants.h
index cbdad74fb85283a4a643665d0725cf6468c76d0f..590cbc4e0fc435e0772d00d3056cae47f16f8cb0 100644
--- a/printing/print_job_constants.h
+++ b/printing/print_job_constants.h
@@ -76,6 +76,13 @@ enum ColorMode {
CMYK,
};
+// What kind of margins to use.
+enum MarginType {
+ DEFAULT_MARGINS, // Default varies depending on headers being enabled or not.
+ NO_MARGINS,
+ CUSTOM_MARGINS,
+};
+
} // namespace printing
#endif // PRINTING_PRINT_JOB_CONSTANTS_H_

Powered by Google App Engine
This is Rietveld 408576698