Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Unified Diff: ppapi/proxy/ppb_flash_proxy.h

Issue 10169040: Move the rest of the Flash functions to the thunk system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/ppb_flash_message_loop_proxy.h ('k') | ppapi/proxy/ppb_flash_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_flash_proxy.h
diff --git a/ppapi/proxy/ppb_flash_proxy.h b/ppapi/proxy/ppb_flash_proxy.h
index 5541697d70956633d0a80e046ec65ffc257c2345..29c6a67cade2b5fd24069665ab9f9ce730173d79 100644
--- a/ppapi/proxy/ppb_flash_proxy.h
+++ b/ppapi/proxy/ppb_flash_proxy.h
@@ -27,6 +27,7 @@ struct PPB_URLRequestInfo_Data;
namespace proxy {
struct PPBFlash_DrawGlyphs_Params;
+struct SerializedDirEntry;
class SerializedVarReturnValue;
class PPB_Flash_Proxy : public InterfaceProxy, public PPB_Flash_Shared {
@@ -77,6 +78,32 @@ class PPB_Flash_Proxy : public InterfaceProxy, public 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;
@@ -125,6 +152,39 @@ class PPB_Flash_Proxy : public InterfaceProxy, public PPB_Flash_Shared {
int clipboard_type,
const std::vector<int>& formats,
SerializedVarVectorReceiveInput data_items);
+ void OnHostMsgOpenFile(PP_Instance instance,
+ const std::string& path,
+ int32_t mode,
+ IPC::PlatformFileForTransit* file_handle,
+ int32_t* result);
+ void OnHostMsgRenameFile(PP_Instance instance,
+ const std::string& path_from,
+ const std::string& path_to,
+ int32_t* result);
+ void OnHostMsgDeleteFileOrDir(PP_Instance instance,
+ const std::string& path,
+ PP_Bool recursive,
+ int32_t* result);
+ void OnHostMsgCreateDir(PP_Instance instance,
+ const std::string& path,
+ int32_t* result);
+ void OnHostMsgQueryFile(PP_Instance instance,
+ const std::string& path,
+ PP_FileInfo* info,
+ int32_t* result);
+ void OnHostMsgGetDirContents(PP_Instance instance,
+ const std::string& path,
+ std::vector<SerializedDirEntry>* entries,
+ int32_t* result);
+ void OnHostMsgOpenFileRef(PP_Instance instance,
+ const ppapi::HostResource& host_resource,
+ int32_t mode,
+ IPC::PlatformFileForTransit* file_handle,
+ int32_t* result);
+ void OnHostMsgQueryFileRef(PP_Instance instance,
+ const ppapi::HostResource& host_resource,
+ PP_FileInfo* info,
+ int32_t* result);
DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Proxy);
};
« no previous file with comments | « ppapi/proxy/ppb_flash_message_loop_proxy.h ('k') | ppapi/proxy/ppb_flash_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698