diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-30 16:19:41 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-30 16:19:41 +0000 |
commit | 724fbd317ae5ee1a22add1e0013cb3c08dfe6155 (patch) | |
tree | b8815bd91f10026f2558924185ac04935138ad4b /webkit/plugins/ppapi/ppb_flash_impl.h | |
parent | e5bbe3d1366b0fda6d68aac22f904fd72f521b59 (diff) | |
download | chromium_src-724fbd317ae5ee1a22add1e0013cb3c08dfe6155.zip chromium_src-724fbd317ae5ee1a22add1e0013cb3c08dfe6155.tar.gz chromium_src-724fbd317ae5ee1a22add1e0013cb3c08dfe6155.tar.bz2 |
Move the rest of the Flash functions to the thunk system.
This removes the manual Flash interface registration and adds them via the
interfaces_ppb_private_flash.h header. I moved File_ModulalLocal and
File_FileRef to the Flash API virtual interface which allowed me to delete
the separate proxies and stuff associated with those interfaces.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10169040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134540 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/ppb_flash_impl.h')
-rw-r--r-- | webkit/plugins/ppapi/ppb_flash_impl.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/webkit/plugins/ppapi/ppb_flash_impl.h b/webkit/plugins/ppapi/ppb_flash_impl.h index 911f5ae..57abf90 100644 --- a/webkit/plugins/ppapi/ppb_flash_impl.h +++ b/webkit/plugins/ppapi/ppb_flash_impl.h @@ -67,6 +67,32 @@ class PPB_Flash_Impl : public ::ppapi::PPB_Flash_Shared { uint32_t data_item_count, const PP_Flash_Clipboard_Format formats[], const PP_Var data_items[]) OVERRIDE; + virtual bool CreateThreadAdapterForInstance(PP_Instance instance) OVERRIDE; + virtual void ClearThreadAdapterForInstance(PP_Instance instance) OVERRIDE; + virtual int32_t OpenFile(PP_Instance instance, + const char* path, + int32_t mode, + PP_FileHandle* file) OVERRIDE; + virtual int32_t RenameFile(PP_Instance instance, + const char* path_from, + const char* path_to) OVERRIDE; + virtual int32_t DeleteFileOrDir(PP_Instance instance, + const char* path, + PP_Bool recursive) OVERRIDE; + virtual int32_t CreateDir(PP_Instance instance, const char* path) OVERRIDE; + virtual int32_t QueryFile(PP_Instance instance, + const char* path, + PP_FileInfo* info) OVERRIDE; + virtual int32_t GetDirContents(PP_Instance instance, + const char* path, + PP_DirContents_Dev** contents) OVERRIDE; + virtual int32_t OpenFileRef(PP_Instance instance, + PP_Resource file_ref, + int32_t mode, + PP_FileHandle* file) OVERRIDE; + virtual int32_t QueryFileRef(PP_Instance instance, + PP_Resource file_ref, + PP_FileInfo* info) OVERRIDE; virtual PP_Bool FlashIsFullscreen(PP_Instance instance) OVERRIDE; virtual PP_Bool FlashSetFullscreen(PP_Instance instance, PP_Bool fullscreen) OVERRIDE; |