summaryrefslogtreecommitdiffstats
path: root/third_party/npapi
diff options
context:
space:
mode:
authorsehr@google.com <sehr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-17 22:32:29 +0000
committersehr@google.com <sehr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-17 22:32:29 +0000
commitd439ba076792f1aa83a04ca562382a9af3c0de9d (patch)
tree7d5ab9d4d5c3c56d50eb5b79af3ab660ef0b9f53 /third_party/npapi
parent0877e3db672aa26d89549f545e6e6c64904fec4c (diff)
downloadchromium_src-d439ba076792f1aa83a04ca562382a9af3c0de9d.zip
chromium_src-d439ba076792f1aa83a04ca562382a9af3c0de9d.tar.gz
chromium_src-d439ba076792f1aa83a04ca562382a9af3c0de9d.tar.bz2
Moved Pepper delegate definition to chrome\renderer to allow it to use
code from chrome\common. Also added canvas support and hooked up NPAPI interface functions. No tests have been added yet, so this is probably not fully ready. Review URL: http://codereview.chromium.org/291001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29380 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/npapi')
-rw-r--r--third_party/npapi/bindings/npapi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/npapi/bindings/npapi.h b/third_party/npapi/bindings/npapi.h
index ed886fe..47b4744 100644
--- a/third_party/npapi/bindings/npapi.h
+++ b/third_party/npapi/bindings/npapi.h
@@ -747,6 +747,10 @@ enum NPEventType {
#endif /* XP_MACOSX */
+/* Stub typedefs for interfaces requiring Pepper types. */
+typedef int NPRenderType;
+typedef struct _NPRenderContext NPRenderContext;
+
#else // defined(PEPPER_APIS_ENABLED)
typedef enum {
NPMouseButton_None = -1,