[Webkit-unassigned] [Bug 27210] [Qt] Add an API to get a list of installed plugins

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 14 07:15:46 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=27210


Adam Treat <treat at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #32656|review?                     |review-
               Flag|                            |




--- Comment #1 from Adam Treat <treat at kde.org>  2009-07-14 07:15:45 PDT ---
(From update of attachment 32656)
We talked this over in #qtwebkit and believe this is a great addition to the
API.  However, there might be confusion with two different functions that
appear to do the same thing: plugins() and installedPlugins().  With this in
mind, how about a method such as 'QList<QWebPluginFactory::Plugin>
QWebPage::plugins(enum);' where the enum would differentiate between system
plugins that are picked up by scanning netscape plugin directories and those
plugins that are installed via QWebPluginFactory.

With this change, perhaps QWebPluginFactory::Plugin should have it's own class
such as QWebPlugin.  I'm not sure.

Eventually, it'd be nice to add API to set/get the preferred plugin for a
particular mimetype and also to query/set the directories searched for system
plugins.  Some ideas for how to do that are here:

http://code.staikos.net/cgi-bin/gitweb.cgi?p=webkit;a=shortlog;h=adam/netscape-plugin-manager

Cheers,
Adam

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list