AppleOpenSource/WebKit2-7609.3.5.1.3/UIProcess/API/glib/WebKitResponsePolicyDecision.cpp
/**
 * webkit_response_policy_decision_is_mime_type_supported:
 * @decision: a #WebKitResponsePolicyDecision
 *
 * Gets whether the MIME type of the response can be displayed in the #WebKitWebView
 * that triggered this policy decision request. See also webkit_web_view_can_show_mime_type().
 *
 * Returns: %TRUE if the MIME type of the response is supported or %FALSE otherwise
 *
 * Since: 2.4
 */


Gets whether the MIME type of the response can be displayed in the #WebKitWebView
that triggered this policy decision request.

%TRUE if the MIME type of the response is supported or %FALSE otherwise


Gets whether the MIME type of the response can be displayed in the #WebKitWebView that triggered this policy decision request . %TRUE if the MIME type of the response is supported or %FALSE otherwise
gboolean webkit_response_policy_decision_is_mime_type_supported(WebKitResponsePolicyDecision* decision)
{
    g_return_val_if_fail(WEBKIT_IS_RESPONSE_POLICY_DECISION(decision), FALSE);
    return decision->priv->navigationResponse->canShowMIMEType();
}
gboolean webkit_response_policy_decision_is_mime_type_supported ( WebKitResponsePolicyDecision * decision ) { g_return_val_if_fail ( WEBKIT_IS_RESPONSE_POLICY_DECISION ( decision ) , FALSE ) ; return decision -> priv -> navigationResponse -> canShowMIMEType ( ) ; }
webkit_response_policy_decision_is_mime_type_supported:
 @decision: a #WebKitResponsePolicyDecision
webkit_response_policy_decision_is_mime_type_supported : @decision : a #WebKitResponsePolicyDecision