[Webkit-unassigned] [Bug 72952] [GTK] Add WebKitDownloadClient to WebKit2 GTK+ API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 23 08:46:11 PST 2011


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





--- Comment #6 from Carlos Garcia Campos <cgarcia at igalia.com>  2011-11-23 08:46:11 PST ---
My proposal is something like: 

WebKitDownloadClient::started -> WebKitWebContext::download-started
WebKitDownloadClient::received-response -> WebKitDownload:response
WebKitDownloadClient::received-data -> WebKitDownload:bytes-received (or current-size, I'm not sure about the name)
WebKitDownloadClient::finished -> WebKitDownload::finished
WebKitDownloadClient::failed ->  WebKitDownload::failed
WebKitDownloadClient::decide-destination -> WebKitDownload::decide-destination
WebKitDownloadClient::created-destination -> WebKitDownload::created-destination
And make destination a property of WEbKitDownload so that it can be monitored.

The code would be mostly the same we just move the signals to download and web context objects. This way the API user have everything in the download object and doesn't need to keep a map of download objects.

-- 
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