diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-15 16:54:32 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-15 16:54:32 +0000 |
commit | f20b56d0897f3026064c32593174414aeb107990 (patch) | |
tree | 7179b28874b2f465d1707494333bd462fbfc2589 /ppapi/proxy/ppb_flash_menu_proxy.h | |
parent | 0829e5e2575130a1e6d6ff0b3062a6e32700cf19 (diff) | |
download | chromium_src-f20b56d0897f3026064c32593174414aeb107990.zip chromium_src-f20b56d0897f3026064c32593174414aeb107990.tar.gz chromium_src-f20b56d0897f3026064c32593174414aeb107990.tar.bz2 |
Implement flash menu and net connector resources using the API/thunk model.
Write thunk for image data trusted.
BUG=none
TEST=ppapi ui tests
Review URL: http://codereview.chromium.org/7149026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89204 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppb_flash_menu_proxy.h')
-rw-r--r-- | ppapi/proxy/ppb_flash_menu_proxy.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ppapi/proxy/ppb_flash_menu_proxy.h b/ppapi/proxy/ppb_flash_menu_proxy.h index 1684bac..d999905 100644 --- a/ppapi/proxy/ppb_flash_menu_proxy.h +++ b/ppapi/proxy/ppb_flash_menu_proxy.h @@ -25,9 +25,8 @@ class PPB_Flash_Menu_Proxy : public InterfaceProxy { static const Info* GetInfo(); - const PPB_Flash_Menu* ppb_flash_menu_target() const { - return static_cast<const PPB_Flash_Menu*>(target_interface()); - } + static PP_Resource CreateProxyResource(PP_Instance instance_id, + const PP_Flash_Menu* menu_data); // InterfaceProxy implementation. virtual bool OnMessageReceived(const IPC::Message& msg); |