Changeset 121892 in webkit


Ignore:
Timestamp:
Jul 5, 2012 1:36:39 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL][WK2] Add ewk_view_reload_bypass_cache API.
https://bugs.webkit.org/show_bug.cgi?id=89413

Patch by Hyerim Bae <hyerim.bae@samsung.com> on 2012-07-05
Reviewed by Kenneth Rohde Christiansen.

Add API, which is for reloading documents without cache.

  • UIProcess/API/efl/ewk_view.cpp:

(ewk_view_reload_bypass_cache):

  • UIProcess/API/efl/ewk_view.h:
Location:
trunk/Source/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r121890 r121892  
     12012-07-05  Hyerim Bae  <hyerim.bae@samsung.com>
     2
     3        [EFL][WK2] Add ewk_view_reload_bypass_cache API.
     4        https://bugs.webkit.org/show_bug.cgi?id=89413
     5
     6        Reviewed by Kenneth Rohde Christiansen.
     7
     8        Add API, which is for reloading documents without cache.
     9
     10        * UIProcess/API/efl/ewk_view.cpp:
     11        (ewk_view_reload_bypass_cache):
     12        * UIProcess/API/efl/ewk_view.h:
     13
    1142012-07-05  Christophe Dumez  <christophe.dumez@intel.com>
    215
  • trunk/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp

    r121890 r121892  
    541541}
    542542
     543Eina_Bool ewk_view_reload_bypass_cache(Evas_Object* ewkView)
     544{
     545    EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
     546    EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
     547
     548    WKPageReloadFromOrigin(toAPI(priv->pageClient->page()));
     549
     550    return true;
     551}
     552
    543553Eina_Bool ewk_view_stop(Evas_Object* ewkView)
    544554{
  • trunk/Source/WebKit2/UIProcess/API/efl/ewk_view.h

    r121890 r121892  
    199199 * @return @c EINA_TRUE on success or @c EINA_FALSE otherwise
    200200 *
    201  * @see ewk_view_reload_full()
     201 * @see ewk_view_reload_bypass_cache()
    202202 */
    203203EAPI Eina_Bool    ewk_view_reload(Evas_Object *o);
     204
     205/**
     206 * Reloads the current page's document without cache.
     207 *
     208 * @param o view object to reload current document
     209 *
     210 * @return @c EINA_TRUE on success or @c EINA_FALSE otherwise
     211 */
     212EAPI Eina_Bool ewk_view_reload_bypass_cache(Evas_Object *o);
    204213
    205214/**
Note: See TracChangeset for help on using the changeset viewer.