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
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
Keywords: Gtk
Depends on:
Reported: 2011-10-07 03:23 PDT by Carlos Garcia Campos
Modified: 2011-10-10 02:19 PDT (History)
3 users (show)

See Also:

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]
Comment 2 Martin Robinson 2011-10-07 10:48:56 PDT
Comment on attachment 110119 [details]

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>