Changes

Jump to: navigation, search

NPAPI:Pepper

294 bytes removed, 04:25, 30 March 2010
The "Pepper" Platform
= The "Pepper" Platform =
To provide these improvements to NPAPI we propose that the changes below be another platform, called "Pepper", that may be implemented by a browser and requested by a plugin at startup. A plugin may call NPN_GetValue() with the following NPNVariable to query the browser whether it supports As the Pepper platform: <pre>/* TRUE if the browser supports the Pepper platform */NPNVsupportsPepperBool = xxxx</pre> Once the plugin finds Pepper provides a number of APIs either not previously specified or previously tied to be supportedOS-dependent header files, it calls NPN_SetValue() to tell the browser to use that platform. We're we propose adding a new NPNVariable for this: <pre>NPNVpluginUsePepperPlatform = yyyy /* TRUE if we should use the Pepper platform */</pre>header, npapi_extensions.h.
== Getting the Browser Extension Methods ==
89
edits

Navigation menu