summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/mock_plugin_delegate.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-15 20:41:32 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-15 20:41:32 +0000
commit97f581360ca8ef6a36d511609446d0406cf98c6c (patch)
tree9fea28464e808f3cf0fe4198878b8e35dd1c665b /webkit/plugins/ppapi/mock_plugin_delegate.cc
parentf2369e14406267f82b4a9577dc8c5c5ecff30193 (diff)
downloadchromium_src-97f581360ca8ef6a36d511609446d0406cf98c6c.zip
chromium_src-97f581360ca8ef6a36d511609446d0406cf98c6c.tar.gz
chromium_src-97f581360ca8ef6a36d511609446d0406cf98c6c.tar.bz2
Implement the Flash menu as a new-style Pepper resource.
The code is now moved out of content and into Chrome. The functionality should be the same. Some of the ways that the host interacted with the PluginInstance (i.e. getting the fullscreen container) was tricky so I unfortunately had to add some functions to the RendererPpapiHost to expose this. Review URL: https://codereview.chromium.org/11369176 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168016 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/mock_plugin_delegate.cc')
-rw-r--r--webkit/plugins/ppapi/mock_plugin_delegate.cc7
1 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 7de9f91..756770f 100644
--- a/webkit/plugins/ppapi/mock_plugin_delegate.cc
+++ b/webkit/plugins/ppapi/mock_plugin_delegate.cc
@@ -376,13 +376,6 @@ bool MockPluginDelegate::X509CertificateParseDER(
return false;
}
-int32_t MockPluginDelegate::ShowContextMenu(
- PluginInstance* instance,
- webkit::ppapi::PPB_Flash_Menu_Impl* menu,
- const gfx::Point& position) {
- return PP_ERROR_FAILED;
-}
-
FullscreenContainer* MockPluginDelegate::CreateFullscreenContainer(
PluginInstance* instance) {
return NULL;