Source/WebKit/gtk/webkit/webkitwebview.cpp
gboolean webkit_web_view_can_show_mime_type(WebKitWebView* webView, const gchar* mimeType)
{
    g_return_val_if_fail(WEBKIT_IS_WEB_VIEW(webView), FALSE);

    Frame* frame = core(webkit_web_view_get_main_frame(webView));
    if (FrameLoader* loader = frame->loader())
        return loader->canShowMIMEType(String::fromUTF8(mimeType));
    else
        return FALSE;
}
/**
 * webkit_web_view_can_show_mime_type:
 * @webView: a #WebKitWebView
 * @mime_type: a MIME type
 *
 * This functions returns whether or not a MIME type can be displayed using this view.
 *
 * Return value: a #gboolean indicating if the MIME type can be displayed
 *
 * Since: 1.0.3
 **/
@webView: a #WebKitWebView
@mime_type: a MIME type

This functions returns whether or not a MIME type can be displayed using this view.

Return value: a #gboolean indicating if the MIME type can be displayed


@webView : a #WebKitWebView @mime_type : a MIME type This functions returns whether or not a MIME type can be displayed using this view . Return value : a #gboolean indicating if the MIME type can be displayed
gboolean webkit_web_view_can_show_mime_type(WebKitWebView* webView, const gchar* mimeType)
{
    g_return_val_if_fail(WEBKIT_IS_WEB_VIEW(webView), FALSE);
    Frame* frame = core(webkit_web_view_get_main_frame(webView));
    if (FrameLoader* loader = frame->loader())
        return loader->canShowMIMEType(String::fromUTF8(mimeType));
    else
        return FALSE;
}
gboolean webkit_web_view_can_show_mime_type ( WebKitWebView * webView , const gchar * mimeType ) { g_return_val_if_fail ( WEBKIT_IS_WEB_VIEW ( webView ) , FALSE ) ; Frame * frame = core ( webkit_web_view_get_main_frame ( webView ) ) ; if ( FrameLoader * loader = frame -> loader ( ) ) return loader -> canShowMIMEType ( String :: fromUTF8 ( mimeType ) ) ; else return FALSE ; }
webkit_web_view_can_show_mime_type:
 @webView: a #WebKitWebView
 @mime_type: a MIME type
webkit_web_view_can_show_mime_type : @webView : a #WebKitWebView @mime_type : a MIME type