diff options
author | abodenha@chromium.org <abodenha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 00:01:27 +0000 |
---|---|---|
committer | abodenha@chromium.org <abodenha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 00:01:27 +0000 |
commit | b579afd5e836551367c5a96be8c699df6cba7554 (patch) | |
tree | 82c7d19e53121b21bc914a0fa750ff7451e99c4f /printing/printing.gyp | |
parent | 753469d74234fe099fd4ce21178ea1e92b15535e (diff) | |
download | chromium_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/printing.gyp')
-rw-r--r-- | printing/printing.gyp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/printing/printing.gyp b/printing/printing.gyp index 68465e2..55bc9b5 100644 --- a/printing/printing.gyp +++ b/printing/printing.gyp @@ -147,6 +147,16 @@ 'backend/print_backend_cups.cc', ], }], + ['OS=="linux" and chromeos==1', { + 'defines': [ + # PRINT_BACKEND_AVAILABLE disables the default dummy implementation + # of the print backend and enables a custom implementation instead. + 'PRINT_BACKEND_AVAILABLE', + ], + 'sources': [ + 'backend/print_backend_chromeos.cc', + ], + }], ], }, { |