summaryrefslogtreecommitdiffstats
path: root/printing/print_job_constants.cc
diff options
context:
space:
mode:
authorabodenha@chromium.org <abodenha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-13 00:01:27 +0000
committerabodenha@chromium.org <abodenha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-13 00:01:27 +0000
commitb579afd5e836551367c5a96be8c699df6cba7554 (patch)
tree82c7d19e53121b21bc914a0fa750ff7451e99c4f /printing/print_job_constants.cc
parent753469d74234fe099fd4ce21178ea1e92b15535e (diff)
downloadchromium_src-b579afd5e836551367c5a96be8c699df6cba7554.zip
chromium_src-b579afd5e836551367c5a96be8c699df6cba7554.tar.gz
chromium_src-b579afd5e836551367c5a96be8c699df6cba7554.tar.bz2
Initial support for cloudprint in print preview.
To enable in Windows/Mac/Linux pass "--enable-cloud-print --enable-print-preview" on the command line. To enable in ChromeOS open about:flags and enable print preview. This first pass extends the print preview UI to retrieve a printer list from cloud print and to allow printing to a cloud print printer. Limitations/known issues: Sign in opens a new tab and requires the print preview page to be refreshed after sign in. Only pulls the first 10 GCP printers. Job settings are very limited. Only sets color and only for a limited set of printers. BUG=80004 TEST= When running with default flags the only visible change should be that "Manage Printers" is now "Manage Local Printers" With flags set as above there should be new entries in the printer selection dropdown allowing the use of cloud printers. It should be possible to sign in to cloud print, open the management page, and be able to print documents to cloud printers. Review URL: http://codereview.chromium.org/7038028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92275 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 d8eb0ce..7e2f634 100644
--- a/printing/print_job_constants.cc
+++ b/printing/print_job_constants.cc
@@ -6,6 +6,9 @@
namespace printing {
+// Print using cloud print: true if selected, false if not.
+const char kSettingCloudPrintId[] = "cloudPrintID";
+
// Print job setting 'collate'.
const char kSettingCollate[] = "collate";