Hi All, There is download client implemented in Gtk, ./WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp, but in this the policy is always set to PolicyUse.
So I have added code as below in FrameLoaderClient::dispatchDecidePolicyForMIMEType() if (MIMETypeRegistry::isSupportedNonImageMIMEType(mimeType) || MIMETypeRegistry::isSupportedImageMIMEType(mimeType)) (core(m_frame)->loader()->*policyFunction)(PolicyUse); else (core(m_frame)->loader()->*policyFunction)(PolicyDownload); The question I have is, where is the file stored if PolicyDownload is given. I am testing it using the WebKitTools/GtkLauncher and nothing happens when I click the download button. Can somebody please help me fix this. Best Regards, Naiem _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev