summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/plugin_delegate.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-22 00:05:17 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-22 00:05:17 +0000
commitc8f73aba9f1fd8b2e0a34fcca08a1e968ddd8244 (patch)
treed2658c6f1da345a1f38531809250c934dd4d73fa /webkit/plugins/ppapi/plugin_delegate.h
parent090d7108424b5a8600e1b590b2227e52f23d6e7e (diff)
downloadchromium_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 'webkit/plugins/ppapi/plugin_delegate.h')
-rw-r--r--webkit/plugins/ppapi/plugin_delegate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h
index fd73c3a..1a94ea0 100644
--- a/webkit/plugins/ppapi/plugin_delegate.h
+++ b/webkit/plugins/ppapi/plugin_delegate.h
@@ -335,6 +335,9 @@ class PluginDelegate {
// Sets restrictions on how the content can be used (i.e. no print/copy).
virtual void SetContentRestriction(int restrictions) = 0;
+
+ // Tells the browser that the PDF has an unsupported feature.
+ virtual void HasUnsupportedFeature() = 0;
};
} // namespace ppapi