diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-27 21:50:28 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-27 21:50:28 +0000 |
commit | 9815108ef72b28eab4c78fe43db9db171f24cd57 (patch) | |
tree | f7fe8ea186168eb655eb927113a7f68886ed65dd /ppapi/proxy/resource_creation_proxy.h | |
parent | 25fe7fc560ac4350eb57f070194e2755279f7fb4 (diff) | |
download | chromium_src-9815108ef72b28eab4c78fe43db9db171f24cd57.zip chromium_src-9815108ef72b28eab4c78fe43db9db171f24cd57.tar.gz chromium_src-9815108ef72b28eab4c78fe43db9db171f24cd57.tar.bz2 |
Move Broker, Buffer, CharSet, and CursorControl to use the new thunk/API system.
This changes the way that the function APIs work in the webkit directory, now
they're created per-instance rather than globally, and have their
Plugininstance as a class member (this cleans up some code). I had to move the
InstanceData member to be a linked_ptr due to copy constructor issues, but this
should be more efficient anyway.
Review URL: http://codereview.chromium.org/7077024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87094 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/resource_creation_proxy.h')
-rw-r--r-- | ppapi/proxy/resource_creation_proxy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ppapi/proxy/resource_creation_proxy.h b/ppapi/proxy/resource_creation_proxy.h index c0cae7f..bd24bda 100644 --- a/ppapi/proxy/resource_creation_proxy.h +++ b/ppapi/proxy/resource_creation_proxy.h @@ -40,6 +40,9 @@ class ResourceCreationProxy : public ::ppapi::FunctionGroupBase, PP_AudioSampleRate sample_rate, uint32_t sample_frame_count) OVERRIDE; virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; + virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; + virtual PP_Resource CreateBuffer(PP_Instance instance, + uint32_t size) OVERRIDE; virtual PP_Resource CreateFontObject( PP_Instance instance, const PP_FontDescription_Dev* description) OVERRIDE; |