summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authorgene@chromium.org <gene@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-13 21:33:03 +0000
committergene@chromium.org <gene@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-13 21:33:03 +0000
commit1a1d6c122e6ba11df8d8a29f80cbd68a1e56ac94 (patch)
tree13495c340e9547e2632c5bfb37dcefe18ecaa85e /ppapi
parent081da1a6516d5d40bf64a4bf45a1577e2b2959cb (diff)
downloadchromium_src-1a1d6c122e6ba11df8d8a29f80cbd68a1e56ac94.zip
chromium_src-1a1d6c122e6ba11df8d8a29f80cbd68a1e56ac94.tar.gz
chromium_src-1a1d6c122e6ba11df8d8a29f80cbd68a1e56ac94.tar.bz2
Adding functionality to print PDF embedded in the html page.
Additional changes needed in PDF plugin to use this functionality. BUG=89241 TEST=Test printing using PDF toolbar on the embedded and normal PDFs. Please do so AFTER PDF changes will be submitted (they have to be submitted separately). Review URL: http://codereview.chromium.org/9139024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117699 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/c/private/ppb_pdf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ppapi/c/private/ppb_pdf.h b/ppapi/c/private/ppb_pdf.h
index 85b1f1f..3646edd 100644
--- a/ppapi/c/private/ppb_pdf.h
+++ b/ppapi/c/private/ppb_pdf.h
@@ -158,6 +158,9 @@ struct PPB_PDF {
// Invoke SaveAs... dialog, similar to the right-click or wrench menu.
void (*SaveAs)(PP_Instance instance);
+
+ // Invoke Print dialog for plugin.
+ void (*Print)(PP_Instance instance);
};
#endif // PPAPI_C_PRIVATE_PPB_PDF_H_