diff options
Diffstat (limited to 'ppapi/proxy/ppb_file_chooser_proxy.h')
-rw-r--r-- | ppapi/proxy/ppb_file_chooser_proxy.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/ppapi/proxy/ppb_file_chooser_proxy.h b/ppapi/proxy/ppb_file_chooser_proxy.h index f1dcd95..4f3bc84 100644 --- a/ppapi/proxy/ppb_file_chooser_proxy.h +++ b/ppapi/proxy/ppb_file_chooser_proxy.h @@ -28,19 +28,24 @@ class SerializedVarReceiveInput; class PPB_FileChooser_Proxy : public InterfaceProxy { public: - PPB_FileChooser_Proxy(Dispatcher* dispatcher); + PPB_FileChooser_Proxy(Dispatcher* dispatcher, const void* target_interface); virtual ~PPB_FileChooser_Proxy(); + static const Info* GetInfo(); + static const Info* GetInfo0_4(); + static PP_Resource CreateProxyResource( PP_Instance instance, PP_FileChooserMode_Dev mode, const PP_Var& accept_mime_types); + const PPB_FileChooser_Dev* ppb_file_chooser_target() const { + return static_cast<const PPB_FileChooser_Dev*>(target_interface()); + } + // InterfaceProxy implementation. virtual bool OnMessageReceived(const IPC::Message& msg); - static const InterfaceID kInterfaceID = INTERFACE_ID_PPB_FILE_CHOOSER; - private: // Plugin -> host message handlers. void OnMsgCreate(PP_Instance instance, |