Bug 69613 - [GTK] Add methods to reload the view to WebKit2 GTK+ API
Summary: [GTK] Add methods to reload the view to WebKit2 GTK+ API
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2011-10-07 03:23 PDT by Carlos Garcia Campos
Modified: 2011-10-10 02:19 PDT (History)
3 users (show)

See Also:


Attachments
Patch (5.38 KB, patch)
2011-10-07 03:25 PDT, Carlos Garcia Campos
mrobinson: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2011-10-07 03:23:27 PDT
Add webkit_web_view_reload() and webkit_web_view_reload_bypass_cache()
Comment 1 Carlos Garcia Campos 2011-10-07 03:25:03 PDT
Created attachment 110119 [details]
Patch
Comment 2 Martin Robinson 2011-10-07 10:48:56 PDT
Comment on attachment 110119 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=110119&action=review

> Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp:285
> +    WebPageProxy* page = webkitWebViewBaseGetPage(WEBKIT_WEB_VIEW_BASE(webView));
> +    WKPageReload(toAPI(page));

Might as well make this one line.

> Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp:300
> +    WebPageProxy* page = webkitWebViewBaseGetPage(WEBKIT_WEB_VIEW_BASE(webView));
> +    WKPageReloadFromOrigin(toAPI(page));

One line again.
Comment 3 Carlos Garcia Campos 2011-10-10 02:19:29 PDT
Committed r97047: <http://trac.webkit.org/changeset/97047>