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/printing_context_mac.h | |
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/printing_context_mac.h')
-rw-r--r-- | printing/printing_context_mac.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/printing/printing_context_mac.h b/printing/printing_context_mac.h index e44c118..e9cad8f 100644 --- a/printing/printing_context_mac.h +++ b/printing/printing_context_mac.h @@ -61,6 +61,10 @@ class PRINTING_EXPORT PrintingContextMac : public PrintingContext { // Returns true if the paper was set else returns false. bool UpdatePageFormatWithPaperInfo(); + // Sets the print job destination type as preview job. + // Returns true if the print job destination type is set. + bool SetPrintPreviewJob(); + // Sets |copies| in PMPrintSettings. // Returns true if the number of copies is set. bool SetCopiesInPrintSettings(int copies); |