[webkit-dev] Proof of Concept: NPAPI plugins in Qt/Windows
jhaygood at reaktix.com
Thu Nov 8 08:51:05 PST 2007
From: Kevin Ollivier
Sent: Thursday, November 08, 2007 11:48 AM
To: Justin Haygood
Cc: webkit-dev at lists.webkit.org
Subject: Re: [webkit-dev] Proof of Concept: NPAPI plugins in Qt/Windows
On Nov 8, 2007, at 7:35 AM, Justin Haygood wrote:
For more information, see the above blog post.
Basically, it does it by (in a semi-clean way) utiziling the existing code for Windows plugins, which makes this method Windows specific. The requisite patch patches some other parts of the codebase for it to work as well, but for the most part. It actually works, as long you can see from the screenshot J. It needs work, but it’s a good proof of concept that it will work.
Thanks for your work on this! :-) I think this approach would likely work for the wx port too, and I think in general it'd be useful to the project as a whole if we could split the plugin code into platform specific bits, and also the core code for Win/Mac/GTK (or X11?) like this, as obviously the plugins themselves are passing around native data structures rather than the ones the ports use. This way all the ports can share the core engine code and only have to implement the front end and do any necessary data type conversions, etc.
BTW, one thing I noticed about your patch - it seems to remove and then re-add FrameLoaderQt.cpp (or else, whitespace or something else changed throughout the entire file). Was this intentional?
Plugins tested and confirmed “working”:
Flash Player 9
webkit-dev mailing list
webkit-dev at lists.webkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev