[Webkit-unassigned] [Bug 124652] [GTK] Add API to WebKitResponsePolicyDecision to check if the MIME type can be shown

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 19 05:22:38 PST 2013


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





--- Comment #5 from Gustavo Noronha (kov) <gns at gnome.org>  2013-12-19 05:20:43 PST ---
(From update of attachment 217417)
View in context: https://bugs.webkit.org/attachment.cgi?id=217417&action=review

> Source/WebKit2/UIProcess/API/gtk/WebKitResponsePolicyDecision.cpp:142
> + * webkit_response_policy_decision_is_mime_type_supported:

I like the name in principle. If we want to be very accurate about it, though, we could have webkit_response_policy_decision_can_web_view_show_mime_type(). I'm OK with is_mime_type_supported(), though, if you guys don't like that one ;) I agree with Carlos that can_show_mime_type makes a bit less sense here than in WebView.

> Source/WebKit2/UIProcess/API/gtk/WebKitResponsePolicyDecision.cpp:147
> + * that triggered this policy decision request.
> + * See also webkit_web_view_can_show_mime_type().

Nit: these could be on the same line.

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