diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-22 00:05:17 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-22 00:05:17 +0000 |
commit | c8f73aba9f1fd8b2e0a34fcca08a1e968ddd8244 (patch) | |
tree | d2658c6f1da345a1f38531809250c934dd4d73fa /ppapi | |
parent | 090d7108424b5a8600e1b590b2227e52f23d6e7e (diff) | |
download | chromium_src-c8f73aba9f1fd8b2e0a34fcca08a1e968ddd8244.zip chromium_src-c8f73aba9f1fd8b2e0a34fcca08a1e968ddd8244.tar.gz chromium_src-c8f73aba9f1fd8b2e0a34fcca08a1e968ddd8244.tar.bz2 |
When we detect a PDF with an unsupported feature, ask the user if they want to view it with Adobe Reader if it's installed. If it's not, ask them if they want to launch the url to install it. If it's installed and out of date, show an interstitial.
BUG=65339
Review URL: http://codereview.chromium.org/6259008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72240 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r-- | ppapi/c/private/ppb_pdf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ppapi/c/private/ppb_pdf.h b/ppapi/c/private/ppb_pdf.h index cdc384a..2f16ca4 100644 --- a/ppapi/c/private/ppb_pdf.h +++ b/ppapi/c/private/ppb_pdf.h @@ -130,6 +130,9 @@ struct PPB_PDF { // Notifies the browser that the given action has been performed. void (*UserMetricsRecordAction)(PP_Var action); + + // Notifies the browser that the PDF has an unsupported feature. + void (*HasUnsupportedFeature)(PP_Instance instance); }; #endif // PPAPI_C_PRIVATE_PPB_PDF_H_ |