Source/WebKit/efl/ewk/ewk_view.cpp
Eina_Bool ewk_view_navigation_policy_decision(Evas_Object* o, Ewk_Frame_Resource_Request* request)
{
    EWK_VIEW_SD_GET_OR_RETURN(o, sd, EINA_TRUE);
    EINA_SAFETY_ON_NULL_RETURN_VAL(sd->api, EINA_TRUE);

    if (!sd->api->navigation_policy_decision)
        return EINA_TRUE;

    return sd->api->navigation_policy_decision(sd, request);
}
/**
 * @internal
 * Reports a requeset will be loaded. It's client responsibility to decide if
 * request would be used. If @return is true, loader will try to load. Else,
 * Loader ignore action of request.
 *
 * @param o View to load
 * @param request Request which contain url to navigate
 */
@internal
Reports a requeset will be loaded. It's client responsibility to decide if
request would be used. If @return is true, loader will try to load. Else,
Loader ignore action of request.

@param o View to load
@param request Request which contain url to navigate
@internal Reports a requeset will be loaded . It ' s client responsibility to decide if request would be used . If @return is true loader will try to load . Else Loader ignore action of request . @param o View to load @param request Request which contain url to navigate
Eina_Bool ewk_view_navigation_policy_decision(Evas_Object* o, Ewk_Frame_Resource_Request* request)
{
    EWK_VIEW_SD_GET_OR_RETURN(o, sd, EINA_TRUE);
    EINA_SAFETY_ON_NULL_RETURN_VAL(sd->api, EINA_TRUE);
    if (!sd->api->navigation_policy_decision)
        return EINA_TRUE;
    return sd->api->navigation_policy_decision(sd, request);
}
Eina_Bool ewk_view_navigation_policy_decision ( Evas_Object * o , Ewk_Frame_Resource_Request * request ) { EWK_VIEW_SD_GET_OR_RETURN ( o , sd , EINA_TRUE ) ; EINA_SAFETY_ON_NULL_RETURN_VAL ( sd -> api , EINA_TRUE ) ; if ( ! sd -> api -> navigation_policy_decision ) return EINA_TRUE ; return sd -> api -> navigation_policy_decision ( sd , request ) ; }
@internal
 Reports a requeset will be loaded.
@internal Reports a requeset will be loaded .