summaryrefslogtreecommitdiffstats
path: root/printing
diff options
context:
space:
mode:
authortbarzic <tbarzic@chromium.org>2015-02-11 19:40:58 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-12 03:42:06 +0000
commit90c6d73f3b28a38933dbabda15bd2ed25cbb1c5e (patch)
tree37ec792ebe406641a2fbe1cb043ed29dfe3c47d6 /printing
parentae7f9d96f00ad6f1fb41bffc8554160e806d2d99 (diff)
downloadchromium_src-90c6d73f3b28a38933dbabda15bd2ed25cbb1c5e.zip
chromium_src-90c6d73f3b28a38933dbabda15bd2ed25cbb1c5e.tar.gz
chromium_src-90c6d73f3b28a38933dbabda15bd2ed25cbb1c5e.tar.bz2
Add support for starting an extension print job to print preview
This only implements web UI part; print_preview_handler returns an error for all issued jobs. BUG=408772 Review URL: https://codereview.chromium.org/909143004 Cr-Commit-Position: refs/heads/master@{#315925}
Diffstat (limited to 'printing')
-rw-r--r--printing/print_job_constants.cc4
-rw-r--r--printing/print_job_constants.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/printing/print_job_constants.cc b/printing/print_job_constants.cc
index 3caadd1..ffaa885 100644
--- a/printing/print_job_constants.cc
+++ b/printing/print_job_constants.cc
@@ -160,6 +160,10 @@ const char kSettingPrintToPDF[] = "printToPDF";
// not.
const char kSettingPrintWithPrivet[] = "printWithPrivet";
+// Print using extension option: true if destination is an extension printer,
+// false if not.
+const char kSettingPrintWithExtension[] = "printWithExtension";
+
// Ticket option. Contains the ticket in CJT format.
const char kSettingTicket[] = "ticket";
diff --git a/printing/print_job_constants.h b/printing/print_job_constants.h
index 5820fc9..809c265 100644
--- a/printing/print_job_constants.h
+++ b/printing/print_job_constants.h
@@ -55,6 +55,7 @@ PRINTING_EXPORT extern const char kSettingPageHeight[];
PRINTING_EXPORT extern const char kSettingPreviewModifiable[];
PRINTING_EXPORT extern const char kSettingPrintToPDF[];
PRINTING_EXPORT extern const char kSettingPrintWithPrivet[];
+PRINTING_EXPORT extern const char kSettingPrintWithExtension[];
PRINTING_EXPORT extern const char kSettingPrintableAreaHeight[];
PRINTING_EXPORT extern const char kSettingPrintableAreaWidth[];
PRINTING_EXPORT extern const char kSettingPrintableAreaX[];