summaryrefslogtreecommitdiffstats
path: root/printing/print_job_constants.cc
diff options
context:
space:
mode:
authorkmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-12 16:55:58 +0000
committerkmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-12 16:55:58 +0000
commitddf90dc66f07c49f91d103f92cebcc489dfcf620 (patch)
treea8b506ce423e7fd3f9b2b7bec2bf0da49e96a70d /printing/print_job_constants.cc
parentf12b5127bf168cb15f5cc3446f74c9743cc7e872 (diff)
downloadchromium_src-ddf90dc66f07c49f91d103f92cebcc489dfcf620.zip
chromium_src-ddf90dc66f07c49f91d103f92cebcc489dfcf620.tar.gz
chromium_src-ddf90dc66f07c49f91d103f92cebcc489dfcf620.tar.bz2
Reland 96406 - Print preview page selection should not require a rerendering of draft pages.
On page selection, regenerate the complete document with the selection, but preserve the existing draft pages and simply display a subset of them. 1. Added a new param |clear all preview data| to |PrintHostMsg_DidGetPreviewPageCount|. 2. Removed |requested_preview_page_index| from |PrintMsg_ContinuePreview| Review URL: http://codereview.chromium.org/7544018 Original Commit: http://src.chromium.org/viewvc/chrome?view=rev&revision=96406 Revert Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96414 BUG=84383 TEST=print preview works after code changes. Review URL: http://codereview.chromium.org/7628019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96567 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/print_job_constants.cc')
-rw-r--r--printing/print_job_constants.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/printing/print_job_constants.cc b/printing/print_job_constants.cc
index 0c50b44..dc864e6 100644
--- a/printing/print_job_constants.cc
+++ b/printing/print_job_constants.cc
@@ -27,6 +27,9 @@ const char kSettingDeviceName[] = "deviceName";
// Print job duplex mode.
const char kSettingDuplexMode[] = "duplex";
+// True, when a new set of draft preview data is required.
+const char kSettingGenerateDraftData[] = "generateDraftData";
+
// Page orientation: true for landscape, false for portrait.
const char kSettingLandscape[] = "landscape";