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

Unified Diff: printing/print_job_constants.cc

Issue 8261005: More options for the types of margins to add. (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
« no previous file with comments | « printing/print_job_constants.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/print_job_constants.cc
diff --git a/printing/print_job_constants.cc b/printing/print_job_constants.cc
index 3efb488044e9a9b1334085f88401a059ab2aa7ba..bc778c805427d1bd6834ae78d9184e9fe9abeb38 100644
--- a/printing/print_job_constants.cc
+++ b/printing/print_job_constants.cc
@@ -36,10 +36,6 @@ const char kSettingContentWidth[] = "contentWidth";
// Number of copies.
const char kSettingCopies[] = "copies";
-// Key that specifies if the default margins have been selected or not.
-// True if selected, false if not.
-const char kSettingDefaultMarginsSelected[] = "defaultMarginsSelected";
-
// Device name: Unique printer identifier.
const char kSettingDeviceName[] = "deviceName";
@@ -99,8 +95,12 @@ const char kSettingMarginRight[] = "marginRight";
// Key that specifies the top margin of the page.
const char kSettingMarginTop[] = "marginTop";
-// Key that specifies the array of custom margins as set by the user.
-const char kSettingMargins[] = "margins";
+// Key that specifies the dictionary of custom margins as set by the user.
+const char kSettingMarginsCustom[] = "marginsCustom";
+
+// Key that specifies the type of margins to use. Value is an int from the
+// MarginType enum.
+const char kSettingMarginsType[] = "marginsType";
// A page range.
const char kSettingPageRange[] = "pageRange";
« no previous file with comments | « printing/print_job_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698