diff options
author | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-13 09:05:42 +0000 |
---|---|---|
committer | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-13 09:05:42 +0000 |
commit | 6a7fdfd56a9b569a27c4e6937d26f058ea94cb63 (patch) | |
tree | f5b9fb251070aab04217109820de8a3d82eae9ea /printing/print_job_constants.cc | |
parent | 6ffcb08137cb8512ecc5f0c8eaf6e871b502263c (diff) | |
download | chromium_src-6a7fdfd56a9b569a27c4e6937d26f058ea94cb63.zip chromium_src-6a7fdfd56a9b569a27c4e6937d26f058ea94cb63.tar.gz chromium_src-6a7fdfd56a9b569a27c4e6937d26f058ea94cb63.tar.bz2 |
More options for the types of margins to add.
Original (broken) CL: http://codereview.chromium.org/8227034
Already approved by dpapad@
TBR=dpapad@chromium.org
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
Diffstat (limited to 'printing/print_job_constants.cc')
-rw-r--r-- | printing/print_job_constants.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/printing/print_job_constants.cc b/printing/print_job_constants.cc index 5420e74..f07a460 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"; |