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..c70076195ae67d3e141a986d6fe038a4b8fcff98 100644 |
--- a/webkit/plugins/ppapi/plugin_delegate.h |
+++ b/webkit/plugins/ppapi/plugin_delegate.h |
@@ -61,6 +61,11 @@ class PPB_X509Certificate_Fields; |
struct DeviceRefData; |
struct HostPortPair; |
struct Preferences; |
+ |
+namespace thunk { |
+class ResourceCreationAPI; |
+} |
+ |
} |
namespace skia { |
@@ -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; |