Mac:Plugins

From MozillaWiki
Jump to navigation Jump to search

Mac OS X NPAPI Event Models Spec

Mac:NPAPI_Event_Models contains the spec for Mac OS X NPAPI Event Models. This spec adds support for the Cocoa event model, which replaces the aging and 64-bit incompatible Carbon event model. The spec is close to final but more changes may be made.

Mac OS X NPAPI Drawing Models Spec

Mac:NPAPI_Drawing_Models contains the spec for Mac OS X NPAPI Drawing Models. This spec allows plugins to render using CoreGraphics and also solves the problem of 64-bit plugins on Mac OS X. The spec is close to final, however last-minute changes may occur.

Gecko 2.0.0 Plugin Improvements

Gecko 1.9.1 should have the full feature set that we will rely on for the significant future. Gecko 2.0.0 plugin changes for Mac OS X focus on standardizing on modern features and consistency with WebKit.

  • Possibly remove Quickdraw drawing model and Carbon drawing model support even for 32-bit plugins.
  • NP_GetEntryPoints will become the only way to get function pointers, we will not call "main()".

Gecko 1.9.1 Plugin Improvements

Gecko 1.9 Plugin Improvements

  • 344427 Support Mac OS X NPAPI Drawing Models, as proposed below. This will allow plugins to draw using CoreGraphics instead of Quickdraw.
  • 344425 - support NP_GetEntryPoints as a way to get plugin function pointers instead of calling "main()"
  • 336060 - use a slower idleEvent timer for plugins that are not in a foreground tab on the key window