| Index: webkit/plugins/ppapi/plugin_delegate.h
|
| diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h
|
| index 6f851907bdded5f64c17342ce3b35da16abab203..545afa4e68e89d1cf2436c9ad44c1ac849a8c5db 100644
|
| --- a/webkit/plugins/ppapi/plugin_delegate.h
|
| +++ b/webkit/plugins/ppapi/plugin_delegate.h
|
| @@ -61,8 +61,13 @@ class PPB_X509Certificate_Fields;
|
| struct DeviceRefData;
|
| struct HostPortPair;
|
| struct Preferences;
|
| +
|
| +namespace thunk {
|
| +class ResourceCreationAPI;
|
| }
|
|
|
| +} // namespace ppapi
|
| +
|
| namespace skia {
|
| class PlatformCanvas;
|
| }
|
| @@ -343,6 +348,10 @@ class PluginDelegate {
|
| // from this call.
|
| virtual void InstanceDeleted(PluginInstance* instance) = 0;
|
|
|
| + // Creates the resource creation API for the given instance.
|
| + virtual scoped_ptr< ::ppapi::thunk::ResourceCreationAPI>
|
| + CreateResourceCreationAPI(PluginInstance* instance) = 0;
|
| +
|
| // Returns a pointer (ownership not transferred) to the bitmap to paint the
|
| // sad plugin screen with. Returns NULL on failure.
|
| virtual SkBitmap* GetSadPluginBitmap() = 0;
|
|
|