Gecko:Moving Plugins To Content: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
** Make the instance owner own a content node rather than a frame (probably) | ** Make the instance owner own a content node rather than a frame (probably) | ||
* ... | * ... | ||
= Plugins without frames = | |||
What should happen with plugins that have no frame? | |||
Possibilities, that I can think of right now: | |||
* They have a widget that's clipped to an empty rect | |||
* They have no widget. NPP_SetWindow is called with something that indicates no window (NULL window arg, or null aWindow->window, whatever) | |||
** http://devedge-temp.mozilla.org/library/manuals/2002/plugin/1.0/npp_api12.html#999390 | |||
Revision as of 22:01, 2 January 2006
Christian Biesinger <cbiesinger@web.de> will probably work on this
Steps:
- Move nsPluginInstanceOwner to its own file
- Make it implement a new interface nsPIPluginInstanceOwner which has all the methods needed for objectframe<->instanceowner communication
- Extend nsIObjectFrame with methods the instance owner needs to call (if any)
- Make the instance owner own a content node rather than a frame (probably)
- ...
Plugins without frames
What should happen with plugins that have no frame?
Possibilities, that I can think of right now:
- They have a widget that's clipped to an empty rect
- They have no widget. NPP_SetWindow is called with something that indicates no window (NULL window arg, or null aWindow->window, whatever)