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-31 05:19:41 +0000
committerkmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-31 05:19:41 +0000
commit576f9964c7ab5b355a3f02164066119d96e00463 (patch)
tree2d2e3a80c16827eb5db91534d793f71b33ffc00c /printing/print_job_constants.cc
parente94c69f6b25f93e7d2b97766686a487777eec88f (diff)
downloadchromium_src-576f9964c7ab5b355a3f02164066119d96e00463.zip
chromium_src-576f9964c7ab5b355a3f02164066119d96e00463.tar.gz
chromium_src-576f9964c7ab5b355a3f02164066119d96e00463.tar.bz2
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. Added a new param |clear all preview data| to |PrintHostMsg_DidGetPreviewPageCount|. BUG=84383 TEST=print preview works after code changes. Review URL: http://codereview.chromium.org/7647010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98926 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 5e7863e..0edea06 100644
--- a/printing/print_job_constants.cc
+++ b/printing/print_job_constants.cc
@@ -43,6 +43,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";
+
// Option to print headers and Footers: true if selected, false if not.
const char kSettingHeaderFooterEnabled[] = "headerFooterEnabled";