summaryrefslogtreecommitdiffstats
path: root/WebCore/plugins/android/PluginViewAndroid.cpp
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2011-01-25 18:02:00 -0500
committerDerek Sollenberger <djsollen@google.com>2011-01-26 18:27:07 -0500
commit136290ef021ff9a9bf9152124a5fa42069acfdfc (patch)
tree763219807011b9f4442e72e25f44bede0a2683fa /WebCore/plugins/android/PluginViewAndroid.cpp
parent9d071845bbad7f9b73a17de59ad8b564e6ce39e4 (diff)
downloadexternal_webkit-136290ef021ff9a9bf9152124a5fa42069acfdfc.zip
external_webkit-136290ef021ff9a9bf9152124a5fa42069acfdfc.tar.gz
external_webkit-136290ef021ff9a9bf9152124a5fa42069acfdfc.tar.bz2
Initial pass at a video API for plugins.
bug: 3072603 Change-Id: Ie22d289a93682dfd68cf81f5220d658d45a69d81
Diffstat (limited to 'WebCore/plugins/android/PluginViewAndroid.cpp')
-rw-r--r--WebCore/plugins/android/PluginViewAndroid.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/plugins/android/PluginViewAndroid.cpp b/WebCore/plugins/android/PluginViewAndroid.cpp
index bd367c3..122404a 100644
--- a/WebCore/plugins/android/PluginViewAndroid.cpp
+++ b/WebCore/plugins/android/PluginViewAndroid.cpp
@@ -86,6 +86,7 @@
#include "ANPOpenGL_npapi.h"
#include "ANPSurface_npapi.h"
#include "ANPSystem_npapi.h"
+#include "ANPVideo_npapi.h"
#include "SkANP.h"
#include "SkFlipPixelRef.h"
@@ -107,6 +108,7 @@ extern void ANPWindowInterfaceV0_Init(ANPInterface* value);
extern void ANPWindowInterfaceV1_Init(ANPInterface* value);
extern void ANPSystemInterfaceV0_Init(ANPInterface* value);
extern void ANPOpenGLInterfaceV0_Init(ANPInterface* value);
+extern void ANPVideoInterfaceV0_Init(ANPInterface* value);
struct VarProcPair {
int enumValue;
@@ -133,6 +135,7 @@ static const VarProcPair gVarProcs[] = {
{ VARPROCLINE(WindowInterfaceV1) },
{ VARPROCLINE(SystemInterfaceV0) },
{ VARPROCLINE(OpenGLInterfaceV0) },
+ { VARPROCLINE(VideoInterfaceV0) },
};
/* return true if var was an interface request (error will be set accordingly)