Source/WebKit/efl/ewk/ewk_view.cpp
Evas_Object* ewk_view_frame_focused_get(const Evas_Object* o)
{
    EWK_VIEW_SD_GET_OR_RETURN(o, sd, 0);
    EWK_VIEW_PRIV_GET_OR_RETURN(sd, priv, 0);

    WebCore::Frame* core = priv->page->focusController()->focusedFrame();
    if (!core)
        return 0;

    WebCore::FrameLoaderClientEfl* client = static_cast<WebCore::FrameLoaderClientEfl*>(core->loader()->client());
    if (!client)
        return 0;
    return client->webFrame();
}
/**
 * Get the currently focused frame object.
 *
 * @param o view object to get focused frame.
 *
 * @return ewk_frame object or @c 0 if none yet.
 */
Get the currently focused frame object.
@param o view object to get focused frame.

@return ewk_frame object or @c 0 if none yet.
Get the currently focused frame object . @param o view object to get focused frame . @return ewk_frame object or @c 0 if none yet .
Evas_Object* ewk_view_frame_focused_get(const Evas_Object* o)
{
    EWK_VIEW_SD_GET_OR_RETURN(o, sd, 0);
    EWK_VIEW_PRIV_GET_OR_RETURN(sd, priv, 0);
    WebCore::Frame* core = priv->page->focusController()->focusedFrame();
    if (!core)
        return 0;
    WebCore::FrameLoaderClientEfl* client = static_cast<WebCore::FrameLoaderClientEfl*>(core->loader()->client());
    if (!client)
        return 0;
    return client->webFrame();
}
Evas_Object * ewk_view_frame_focused_get ( const Evas_Object * o ) { EWK_VIEW_SD_GET_OR_RETURN ( o , sd , 0 ) ; EWK_VIEW_PRIV_GET_OR_RETURN ( sd , priv , 0 ) ; WebCore :: Frame * core = priv -> page -> focusController ( ) -> focusedFrame ( ) ; if ( ! core ) return 0 ; WebCore :: FrameLoaderClientEfl * client = static_cast < WebCore :: FrameLoaderClientEfl * > ( core -> loader ( ) -> client ( ) ) ; if ( ! client ) return 0 ; return client -> webFrame ( ) ; }
Get the currently focused frame object.
Get the currently focused frame object .