Changes

Jump to: navigation, search

NPAPI:Pepper

515 bytes removed, 04:19, 30 March 2010
Plugin Extensions for Pepper
The whole Pepper audio design document is too long to embed here.&nbsp; [[Plugins:PepperAudioAPI|Please click here for the Pepper Audio API]]<br>
 
= Plugin Extensions for Pepper =
 
Plugins can also provide Pepper extensions for use by the browser. As with the browser extensions structure, plugin extensions structure is defined in npapi_extensions.h.
 
<pre>
/* from npapi_extensions.h */
typedef struct _NPPExtensions {
NPPGetPrintExtensionsPtr getPrintExtensions;
/* ... */
} NPPExtensions;
</pre>
 
The browser can request a plugin's Pepper interface by
 
<pre>
NPPExtensions *extensions;
NPP_GetValue(instance, NPPVPepperExtensions, &extensions);
</pre>
== Printing ==
89
edits

Navigation menu