More options for the types of margins to add.
Original (broken) CL: http://codereview.chromium.org/8227034
Already approved by dpapad@
[email protected]
BUG=NONE
TEST=NONE
Review URL: http://codereview.chromium.org/8261005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105281 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/printing/print_job_constants.cc b/printing/print_job_constants.cc
index 5420e74..f07a4608 100644
--- a/printing/print_job_constants.cc
+++ b/printing/print_job_constants.cc
@@ -36,10 +36,6 @@
// 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 @@
// 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";