summaryrefslogtreecommitdiffstats
path: root/printing
diff options
context:
space:
mode:
authordpapad@chromium.org <dpapad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-20 01:58:39 +0000
committerdpapad@chromium.org <dpapad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-20 01:58:39 +0000
commitb73bb80b3496c7e1e8de3d808fc451663885d0b7 (patch)
treeda7f0508ab0de726bdc88f241569e42579a1d904 /printing
parentd2a2a409f713ce9f28b8d40b3ed2ef9140057a38 (diff)
downloadchromium_src-b73bb80b3496c7e1e8de3d808fc451663885d0b7.zip
chromium_src-b73bb80b3496c7e1e8de3d808fc451663885d0b7.tar.gz
chromium_src-b73bb80b3496c7e1e8de3d808fc451663885d0b7.tar.bz2
Updating print preview based on the pages selected by the user.
BUG=79525 TEST=Open a multi-page document in print preview, select specific pages, the preview should automatically update. Review URL: http://codereview.chromium.org/6882019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82213 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing')
-rw-r--r--printing/print_job_constants.cc6
-rw-r--r--printing/print_job_constants.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/printing/print_job_constants.cc b/printing/print_job_constants.cc
index 31075f6..bbb8d2b 100644
--- a/printing/print_job_constants.cc
+++ b/printing/print_job_constants.cc
@@ -18,12 +18,12 @@ const char kSettingCopies[] = "copies";
// Page orientation: true for landscape, false for portrait.
const char kSettingLandscape[] = "landscape";
-// Print to PDF option: true if selected, false if not.
-const char kSettingPrintToPDF[] = "printToPDF";
-
// Printer name.
const char kSettingPrinterName[] = "printerName";
+// Print to PDF option: true if selected, false if not.
+const char kSettingPrintToPDF[] = "printToPDF";
+
// Print job duplex setting.
const char kSettingTwoSided[] = "twoSided";
diff --git a/printing/print_job_constants.h b/printing/print_job_constants.h
index 42c6f69..30102eb 100644
--- a/printing/print_job_constants.h
+++ b/printing/print_job_constants.h
@@ -11,8 +11,8 @@ extern const char kSettingCollate[];
extern const char kSettingColor[];
extern const char kSettingCopies[];
extern const char kSettingLandscape[];
-extern const char kSettingPrintToPDF[];
extern const char kSettingPrinterName[];
+extern const char kSettingPrintToPDF[];
extern const char kSettingTwoSided[];
} // namespace printing