diff options
author | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-17 00:44:37 +0000 |
---|---|---|
committer | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-17 00:44:37 +0000 |
commit | 97c29575ab1cc3b1bcb53449c3d9627ee1382d04 (patch) | |
tree | 1633e14bbcc4cdb0c451a93c1982ddcd3b03ecad /printing/print_job_constants.cc | |
parent | 1bf1b92d64df4e58c7f9b17285fc67ad4025feb2 (diff) | |
download | chromium_src-97c29575ab1cc3b1bcb53449c3d9627ee1382d04.zip chromium_src-97c29575ab1cc3b1bcb53449c3d9627ee1382d04.tar.gz chromium_src-97c29575ab1cc3b1bcb53449c3d9627ee1382d04.tar.bz2 |
PrintPreview:[MAC] Added "Open PDF In Preview" option to open the pdf in native preview app.
BUG=101724
TEST=Preview a webpage. Click "Open PDF In Preview" option Observe that the pdf is displayed in native preview app. Complete the printing workflow by clicking "Print" or
"Cancel" button at the bottom of the preview app.
Review URL: http://codereview.chromium.org/8425008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110398 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/print_job_constants.cc')
-rw-r--r-- | printing/print_job_constants.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/printing/print_job_constants.cc b/printing/print_job_constants.cc index adebd14..c671326 100644 --- a/printing/print_job_constants.cc +++ b/printing/print_job_constants.cc @@ -123,6 +123,10 @@ const char kSettingPrintToPDF[] = "printToPDF"; const int FIRST_PAGE_INDEX = 0; const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1; +#if defined(OS_MACOSX) +const char kSettingOpenPDFInPreview[] = "OpenPDFInPreview"; +#endif + #if defined (USE_CUPS) const char kBlack[] = "Black"; const char kCMYK[] = "CMYK"; |