|
Plugins
The only platform-specific code on the mozilla side of the plugin API is
the code to load plugins. This is found in
mozilla/modules/plugin/nglsrc/nsPluginHostImpl.cpp
(the OS/2 code isn't yet checked in to mozilla.org cvs).
The code is straight-forward; it scans the plugins directory off of
the mozilla executable for files matching np*.dll and tries to read
off plugin information.
There's a potential problem here: when mozilla is running
as an embedded control, the plugins directory will not be found. This isn't
the only place in the code that suffers from this problem. Either need an
environment variable setting or an entry in OS2.INI.
The spec. for nsPluginWindow in
nsPluginDefs.h
says that the position values are in the OS/2 coordinate system. This doesn't
happen at the moment. The solution lies in changing
nsPluginViewer.cpp.
|