/**@class android.webkit.PluginStub This interface is used to implement plugins in a WebView. A plugin package may extend this class and implement the abstract functions to create embedded or fullscreeen views displayed in a WebView. The PluginStub implementation will be provided the same NPP instance that is created through the native interface. */ var PluginStub = { /**Return a custom embedded view to draw the plugin. @param {Number} NPP The native NPP instance. @param {Object {Context}} context The current application's Context. @return {Object {android.view.View}} A custom View that will be managed by WebView. */ getEmbeddedView : function( ) {}, /**Return a custom full-screen view to be displayed when the user requests a plugin display as full-screen. Note that the application may choose not to display this View as completely full-screen. @param {Number} NPP The native NPP instance. @param {Object {Context}} context The current application's Context. @return {Object {android.view.View}} A custom View that will be managed by the application. */ getFullScreenView : function( ) {}, };