Source/WebKit/efl/ewk/ewk_frame.cpp
Eina_Bool
ewk_frame_scroll_size_get(const Evas_Object* o, int* w, int* h)
{
    if (w)
        *w = 0;
    if (h)
        *h = 0;
    EWK_FRAME_SD_GET_OR_RETURN(o, sd, EINA_FALSE);
    EINA_SAFETY_ON_NULL_RETURN_VAL(sd->frame, EINA_FALSE);
    EINA_SAFETY_ON_NULL_RETURN_VAL(sd->frame->view(), EINA_FALSE);
    WebCore::IntPoint point = sd->frame->view()->maximumScrollPosition();
    if (w)
        *w = point.x();
    if (h)
        *h = point.y();
    return EINA_TRUE;
}
/**
 * Get the possible scroll size of given frame.
 *
 * Possible scroll size is contents size minus the viewport
 * size. It's the last allowed value for ewk_frame_scroll_set()
 *
 * @param o frame object to scroll.
 * @param w where to return horizontal size that is possible to
 *        scroll. May be @c NULL.
 * @param h where to return vertical size that is possible to scroll.
 *        May be @c NULL.
 *
 * @return @c EINA_TRUE if possible, @c EINA_FALSE otherwise and
 *         values are zeroed.
 */
Get the possible scroll size of given frame.
Possible scroll size is contents size minus the viewport
size. It's the last allowed value for ewk_frame_scroll_set()

@param o frame object to scroll.
@param w where to return horizontal size that is possible to
scroll. May be @c NULL.
@param h where to return vertical size that is possible to scroll.
May be @c NULL.

@return @c EINA_TRUE if possible, @c EINA_FALSE otherwise and
values are zeroed.
Get the possible scroll size of given frame . Possible scroll size is contents size minus the viewport size . It ' s the last allowed value for ewk_frame_scroll_set () @param o frame object to scroll . @param w where to return horizontal size that is possible to scroll . May be @c NULL . @param h where to return vertical size that is possible to scroll . May be @c NULL . @return @c EINA_TRUE if possible @c EINA_FALSE otherwise and values are zeroed .
Eina_Bool
ewk_frame_scroll_size_get(const Evas_Object* o, int* w, int* h)
{
    if (w)
        *w = 0;
    if (h)
        *h = 0;
    EWK_FRAME_SD_GET_OR_RETURN(o, sd, EINA_FALSE);
    EINA_SAFETY_ON_NULL_RETURN_VAL(sd->frame, EINA_FALSE);
    EINA_SAFETY_ON_NULL_RETURN_VAL(sd->frame->view(), EINA_FALSE);
    WebCore::IntPoint point = sd->frame->view()->maximumScrollPosition();
    if (w)
        *w = point.x();
    if (h)
        *h = point.y();
    return EINA_TRUE;
}
Eina_Bool ewk_frame_scroll_size_get ( const Evas_Object * o , int * w , int * h ) { if ( w ) * w = 0 ; if ( h ) * h = 0 ; EWK_FRAME_SD_GET_OR_RETURN ( o , sd , EINA_FALSE ) ; EINA_SAFETY_ON_NULL_RETURN_VAL ( sd -> frame , EINA_FALSE ) ; EINA_SAFETY_ON_NULL_RETURN_VAL ( sd -> frame -> view ( ) , EINA_FALSE ) ; WebCore :: IntPoint point = sd -> frame -> view ( ) -> maximumScrollPosition ( ) ; if ( w ) * w = point . x ( ) ; if ( h ) * h = point . y ( ) ; return EINA_TRUE ; }
Get the possible scroll size of given frame.
Get the possible scroll size of given frame .