diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-19 06:03:56 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-19 06:03:56 +0000 |
commit | 277a111a05b3c230cea9c68977eb5a130386c1ec (patch) | |
tree | e611cfe56303c124643d4adc47729d59af55db0d /webkit/plugins/ppapi/mock_plugin_delegate.h | |
parent | 01cec0a407740bd2b5b92a80b1cbaef8e5ee8f9b (diff) | |
download | chromium_src-277a111a05b3c230cea9c68977eb5a130386c1ec.zip chromium_src-277a111a05b3c230cea9c68977eb5a130386c1ec.tar.gz chromium_src-277a111a05b3c230cea9c68977eb5a130386c1ec.tar.bz2 |
Hook up the sad plugin painting and the crashed plugin infobars for
out-of-process PPAPI plugins. This mostly just forwards notifications up and
provides a way to get the sad plugin image in the PPAPI rendering code.
I moved the NPAPI sad tab painting to a new file so that it could be shared
between the NPAPI and PPAPI.
This also hooks up the name and version information in the task manager for
PPAPI plugins.
R=jam@chromium.org
Review URL: http://codereview.chromium.org/6685091
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78816 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/mock_plugin_delegate.h')
-rw-r--r-- | webkit/plugins/ppapi/mock_plugin_delegate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/plugins/ppapi/mock_plugin_delegate.h b/webkit/plugins/ppapi/mock_plugin_delegate.h index 7980918..9a4113f 100644 --- a/webkit/plugins/ppapi/mock_plugin_delegate.h +++ b/webkit/plugins/ppapi/mock_plugin_delegate.h @@ -15,8 +15,10 @@ class MockPluginDelegate : public PluginDelegate { MockPluginDelegate(); ~MockPluginDelegate(); + virtual void PluginCrashed(PluginInstance* instance); virtual void InstanceCreated(PluginInstance* instance); virtual void InstanceDeleted(PluginInstance* instance); + virtual SkBitmap* GetSadPluginBitmap(); virtual PlatformImage2D* CreateImage2D(int width, int height); virtual PlatformContext3D* CreateContext3D(); virtual PlatformVideoDecoder* CreateVideoDecoder( |