The PDF handling stuff is related to a mimetype filter. The web server sends a particular mime type along with each document, and if it's not something that the browser knows how to deal with directly, it'll interrogate all of its plugins to see if they want to handle it. When plugins are registered they provide a list of types they'll handle. See:

        
http://developer.apple.com/DOCUMENTATION/InternetWeb/Conceptual/WebKit_PluginProgTopic/Concepts/AboutPlugins.html

And:

        http://trac.webkit.org/browser/trunk/WebCore/plugins

Regards

On Jan 28, 2009, at 5:25 PM, Meryl Silverburgh wrote:

Hi,

Can you please how webkit handles a mouse click from a user?
For example, when user clicks an anchor, it will load the web page.
But if the links points to  a pdf document, it will load the document
using pdf reader.

Can you please tell me where in the code handles that?

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

Reply via email to