OSDN Git Service

Add Plugin APIs for creating and manipulating a Surface.
authorPatrick Scott <phanna@android.com>
Fri, 17 Jul 2009 20:40:38 +0000 (16:40 -0400)
committerPatrick Scott <phanna@android.com>
Mon, 20 Jul 2009 15:01:37 +0000 (11:01 -0400)
commite661c6da169832b46b6db967a09adb4459db003a
treed0bc69d4e5c6379a665e22db2a71c7046c49e42e
parent54c7b5fa917905784d2d3d5c1ca6a914a6e86334
Add Plugin APIs for creating and manipulating a Surface.

SurfaceCallback: An interface used to receive the surface change events. The
PluginSurface then sends those events to the actual plugin.

PluginSurface: A wrapper around the native Surface object obtained from the Java
SurfaceView. This object can lock and unlock the surface and takes care of
creating, positioning and destroying the Java SurfaceView.

Changed PluginWidgetAndroid to not use SkFlipPixelRef when the drawing model is
Surface.
WebKit/Android.mk
WebKit/android/jni/WebViewCore.cpp
WebKit/android/jni/WebViewCore.h
WebKit/android/plugins/ANPSurfaceInterface.cpp
WebKit/android/plugins/PluginSurface.cpp [new file with mode: 0644]
WebKit/android/plugins/PluginSurface.h [new file with mode: 0644]
WebKit/android/plugins/PluginWidgetAndroid.cpp
WebKit/android/plugins/PluginWidgetAndroid.h
WebKit/android/plugins/SurfaceCallback.h [new file with mode: 0644]
WebKit/android/plugins/android_npapi.h