Netscape DevEdge

Skip to: [content] [navigation]

TOC PREV NEXT

plug-ins!


Browser Side Plug-in API


This chapter describes methods in the plug-in API that are available for the browser. 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.

Netscape Plug-in Method Summary

Closes and deletes a stream.
Forces a paint message for a windowless plug-in.
Asks the browser to create a stream for the specified URL.
Requests creation of a new stream with the contents of the specified URL; gets notification of the result.
Allows the plug-in to query the browser for information.
Invalidates specified drawing area prior to repainting or refreshing a windowless plug-in.
Invalidates specified drawing region prior to repainting or refreshing a windowless plug-in.
Allocates memory from the browser's memory space.
Requests that the browser free a specified amount of memory.
Deallocates a block of allocated memory.
Requests the creation of a new data stream produced by the plug-in and consumed by the browser.

Posts data to a URL.

Posts data to a URL, and receives notification of the result.
Reloads all plug-ins in the Plugins directory.
Requests a range of bytes for a seekable stream.
Sets windowless plug-in as transparent or opaque.
Displays a message on the status line of the browser window.
Returns the browser's user agent field.
Returns version information for the Plug-in API.
Pushes data into a stream produced by the plug-in and consumed by the browser.


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT
A+R