[Author: mpcomplete]
Refactor how modules are created in NPAPI.
- CreateGearsFoo becomes CreateModule<GearsFoo>.
- ScopedModuleWrapper becomes ScopedModule<GearsFoo>.
- The return type is now a GearsFoo, instead of a pointer to the wrapper base class. This makes it simpler to work with the module once you create it.
- Also, added a JsContextPtr parameter to the module creation functions. (The pain involved in this was what started this whole fiasco).
R=cprince
CC=google-gears-eng@googlegroups.com
DELTA=195 (95 added, 55 deleted, 45 changed)
OCL=
5993545
SCL=
6053240
git-svn-id: https://google-gears.googlecode.com/svn/trunk@559 fe895e04-df30-0410-9975-d76d301b4276