Source/WebKit/efl/ewk/ewk_view.cpp
Evas_Object* ewk_view_window_create(Evas_Object* o, Eina_Bool javascript, const WebCore::WindowFeatures* coreFeatures)
{
    EWK_VIEW_SD_GET_OR_RETURN(o, sd, 0);

    if (!sd->api->window_create)
        return o;

    Ewk_Window_Features* window_features = ewk_window_features_new_from_core(coreFeatures);
    Evas_Object* view = sd->api->window_create(sd, javascript, window_features);
    ewk_window_features_unref(window_features);

    return view;
}
/**
 * @internal
 * Delegates to browser the creation of a new window. If it is not implemented,
 * current view is returned, so navigation might continue in same window. If
 * browser supports the creation of new windows, a new Ewk_Window_Features is
 * created and passed to browser. If it intends to keep the request for opening
 * the window later it must increments the Ewk_Winwdow_Features ref count by
 * calling ewk_window_features_ref(window_features). Otherwise this struct will
 * be freed after returning to this function.
 *
 * @param o Current view.
 * @param javascript @c EINA_TRUE if the new window is originated from javascript,
 * @c EINA_FALSE otherwise
 * @param window_features Features of the new window being created. If it's @c
 * NULL, it will be created a window with default features.
 *
 * @return New view, in case smart class implements the creation of new windows;
 * else, current view @param o.
 *
 * @see ewk_window_features_ref().
 */
@internal
Delegates to browser the creation of a new window. If it is not implemented,
current view is returned, so navigation might continue in same window. If
browser supports the creation of new windows, a new Ewk_Window_Features is
created and passed to browser. If it intends to keep the request for opening
the window later it must increments the Ewk_Winwdow_Features ref count by
calling ewk_window_features_ref(window_features). Otherwise this struct will
be freed after returning to this function.

@param o Current view.
@param javascript @c EINA_TRUE if the new window is originated from javascript,
@c EINA_FALSE otherwise
@param window_features Features of the new window being created. If it's @c
NULL, it will be created a window with default features.

@return New view, in case smart class implements the creation of new windows;
else, current view @param o.


@internal Delegates to browser the creation of a new window . If it is not implemented current view is returned so navigation might continue in same window . If browser supports the creation of new windows a new Ewk_Window_Features is created and passed to browser . If it intends to keep the request for opening the window later it must increments the Ewk_Winwdow_Features ref count by calling ewk_window_features_ref ( window_features ) . Otherwise this struct will be freed after returning to this function . @param o Current view . @param javascript @c EINA_TRUE if the new window is originated from javascript @c EINA_FALSE otherwise @param window_features Features of the new window being created . If it ' s @c NULL it will be created a window with default features . @return New view in case smart class implements the creation of new windows ; else current view @param o .
Evas_Object* ewk_view_window_create(Evas_Object* o, Eina_Bool javascript, const WebCore::WindowFeatures* coreFeatures)
{
    EWK_VIEW_SD_GET_OR_RETURN(o, sd, 0);
    if (!sd->api->window_create)
        return o;
    Ewk_Window_Features* window_features = ewk_window_features_new_from_core(coreFeatures);
    Evas_Object* view = sd->api->window_create(sd, javascript, window_features);
    ewk_window_features_unref(window_features);
    return view;
}
Evas_Object * ewk_view_window_create ( Evas_Object * o , Eina_Bool javascript , const WebCore :: WindowFeatures * coreFeatures ) { EWK_VIEW_SD_GET_OR_RETURN ( o , sd , 0 ) ; if ( ! sd -> api -> window_create ) return o ; Ewk_Window_Features * window_features = ewk_window_features_new_from_core ( coreFeatures ) ; Evas_Object * view = sd -> api -> window_create ( sd , javascript , window_features ) ; ewk_window_features_unref ( window_features ) ; return view ; }
@internal
 Delegates to browser the creation of a new window.
@internal Delegates to browser the creation of a new window .