summaryrefslogtreecommitdiffstats
path: root/webkit/plugins
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-23 18:14:41 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-23 18:14:41 +0000
commit21d89834b43afb0f80aad1be78b681a38a3c97c8 (patch)
treebdaaee01d44106ba37e1ce49d5cc8355ac3316f8 /webkit/plugins
parent3c56b38d2055b16592d499ea4933c27cbb0fd809 (diff)
downloadchromium_src-21d89834b43afb0f80aad1be78b681a38a3c97c8.zip
chromium_src-21d89834b43afb0f80aad1be78b681a38a3c97c8.tar.gz
chromium_src-21d89834b43afb0f80aad1be78b681a38a3c97c8.tar.bz2
Moving the ViewHostMsg_PDFHasUnsupportedFeature IPC message to Chrome as PDF is a chrome specific
feature. Removed the HasUnsupportedFeature method from the pepper PluginDelegate interface as it is only needed for PDF. BUG=87335 Review URL: http://codereview.chromium.org/7709020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97890 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins')
-rw-r--r--webkit/plugins/ppapi/mock_plugin_delegate.cc3
-rw-r--r--webkit/plugins/ppapi/mock_plugin_delegate.h1
-rw-r--r--webkit/plugins/ppapi/plugin_delegate.h3
3 files changed, 0 insertions, 7 deletions
diff --git a/webkit/plugins/ppapi/mock_plugin_delegate.cc b/webkit/plugins/ppapi/mock_plugin_delegate.cc
index 543c21e..dab69dc 100644
--- a/webkit/plugins/ppapi/mock_plugin_delegate.cc
+++ b/webkit/plugins/ppapi/mock_plugin_delegate.cc
@@ -256,9 +256,6 @@ void MockPluginDelegate::DidStopLoading() {
void MockPluginDelegate::SetContentRestriction(int restrictions) {
}
-void MockPluginDelegate::HasUnsupportedFeature() {
-}
-
void MockPluginDelegate::SaveURLAs(const GURL& url) {
}
diff --git a/webkit/plugins/ppapi/mock_plugin_delegate.h b/webkit/plugins/ppapi/mock_plugin_delegate.h
index 3d4a034..8a4be75 100644
--- a/webkit/plugins/ppapi/mock_plugin_delegate.h
+++ b/webkit/plugins/ppapi/mock_plugin_delegate.h
@@ -111,7 +111,6 @@ class MockPluginDelegate : public PluginDelegate {
virtual void DidStartLoading();
virtual void DidStopLoading();
virtual void SetContentRestriction(int restrictions);
- virtual void HasUnsupportedFeature();
virtual void SaveURLAs(const GURL& url);
virtual P2PSocketDispatcher* GetP2PSocketDispatcher();
virtual webkit_glue::P2PTransport* CreateP2PTransport();
diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h
index fcbf296..c0bb662 100644
--- a/webkit/plugins/ppapi/plugin_delegate.h
+++ b/webkit/plugins/ppapi/plugin_delegate.h
@@ -418,9 +418,6 @@ 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;
-
// Tells the browser to bring up SaveAs dialog to save specified URL.
virtual void SaveURLAs(const GURL& url) = 0;