89
edits
Changes
→Getting the Browser Extension Methods
<pre>
NPNVPepperExtensions
</pre>
= Getting a Plugin's Extension Methods =
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>
typedef struct _NPPExtensions {
NPPGetPrintExtensionsPtr getPrintExtensions;
/* ... */
} NPPExtensions;
</pre>
The browser obtains a plugin's Pepper interface by calling NPP_GetValue with
<pre>
NPPVPepperExtensions
</pre>