summaryrefslogtreecommitdiffstats
path: root/ppapi/thunk/resource_creation_api.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-15 16:54:32 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-15 16:54:32 +0000
commitf20b56d0897f3026064c32593174414aeb107990 (patch)
tree7179b28874b2f465d1707494333bd462fbfc2589 /ppapi/thunk/resource_creation_api.h
parent0829e5e2575130a1e6d6ff0b3062a6e32700cf19 (diff)
downloadchromium_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/thunk/resource_creation_api.h')
-rw-r--r--ppapi/thunk/resource_creation_api.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ppapi/thunk/resource_creation_api.h b/ppapi/thunk/resource_creation_api.h
index efb0150..cbaf92e 100644
--- a/ppapi/thunk/resource_creation_api.h
+++ b/ppapi/thunk/resource_creation_api.h
@@ -15,6 +15,7 @@
#include "ppapi/c/ppb_image_data.h"
#include "ppapi/proxy/interface_id.h"
+struct PP_Flash_Menu;
struct PP_FontDescription_Dev;
struct PP_Size;
@@ -50,6 +51,9 @@ class ResourceCreationAPI {
const char* path) = 0;
virtual PP_Resource CreateFileSystem(PP_Instance instance,
PP_FileSystemType_Dev type) = 0;
+ virtual PP_Resource CreateFlashMenu(PP_Instance instance,
+ const PP_Flash_Menu* menu_data) = 0;
+ virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) = 0;
// Note: can't be called CreateFont due to Windows #defines.
virtual PP_Resource CreateFontObject(
PP_Instance instance,