On May 22, 2007, at 12:02 PM, Nathan Duran wrote:

I need to add a set of menu items to the contextual menu that WebKit based browsers display in response to a control click on standard image files which do not require plugins to view. My first thought was that I would be able to create a dummy plugin which registered itself for all the same MIME types as WebImageView, and then just go ahead and instantiate one of those
after poking in a UI delegate to generate the new menu items. <snip>

Actually, even if WebImageView still existed this method won't work, as the images are used without any plug-in interaction.

See <http://bugs.webkit.org/show_bug.cgi?id=10015> for more background. The prevailing view is that all mime types are equal ... but some are more equal than others. Quoting a comment in the bug:

 Fundamental image types and fundamental document types should not be
overridable by plugins. This would allow plugins to take over basic image rendering and even HTML document or XML document rendering. This is roughly analogous to the way browsers will still display HTML on their own even if the
OS thinks another browser is registered as the default.

I'm on record as accepting of, but not agreeing with, this argument ;)

Rudi

_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to