NPAPI:Models: Difference between revisions

Line 17: Line 17:
Browsers should include support for variables that allow the plugin to query for event and drawing model support. Variables should be named based on the following examples:
Browsers should include support for variables that allow the plugin to query for event and drawing model support. Variables should be named based on the following examples:


* Cocoa event model: NPNVsupportsCocoaBool
* Mac OS X Cocoa event model: NPNVsupportsCocoaBool
* Core Graphics drawing model: NPNVsupportsCoreGraphicsBool
* Mac OS X Core Graphics drawing model: NPNVsupportsCoreGraphicsBool


There will be platform-specific default event and drawing models, which may not have a named designation for legacy reasons. When there is no designation, plugins can assume support for the default model exists.
There will be platform-specific default event and drawing models, which may not have a named designation for legacy reasons. When there is no designation, plugins can assume support for the default model exists.
Confirmed users, Bureaucrats and Sysops emeriti
1,680

edits