Browser-side plug-in API

This chapter describes methods in the plug-in API that are provided by the browser; these allow call back to the browser to request information, tell the browser to repaint part of the window, and so forth. The names of all of these methods begin with NPN_ to indicate that they are implemented by the browser and called by the plug-in. For an overview of how these two sides of the plug-in API interact, see the How Plug-ins Work and Overview of Plug-in Structure sections in the introduction.

Warning: You must only call these from the main thread; calling them from other threads is not supported and may have unpredictable results.

NPN_DestroyStream

NPN_ForceRedraw

NPN_GetAuthenticationInfo

NPN_GetURL

NPN_GetURLNotify

NPN_GetValue

NPN_GetValueForURL

NPN_InvalidateRect

NPN_InvalidateRegion

NPN_MemAlloc

NPN_MemFlush

NPN_MemFree

NPN_NewStream

NPN_PluginThreadAsyncCall

NPN_PopPopupsEnabledState

NPN_PostURL

NPN_PostURLNotify

NPN_PushPopupsEnabledState

NPN_ReloadPlugins

NPN_RequestRead

NPN_SetValue

NPN_SetValueForURL

NPN_Status

NPN_UserAgent

NPN_Version

NPN_Write

Document Tags and Contributors

Contributors to this page: wbamberg, fscholz, teoli, kscarfone, nanz, Sheppy
Last updated by: wbamberg,