Bug 69823

Summary: [GTK] Add can_go_back/forward methods to WebKit2 GTK+ API
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: gustavo, pnormand, xan.lopez
Priority: P2 Keywords: Gtk
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Bug Depends on:    
Bug Blocks: 69343    
Attachments:
Description Flags
Patch mrobinson: review+

Description Carlos Garcia Campos 2011-10-11 01:51:45 PDT
Add webkit_web_view_can_go_back() and webkit_web_view_can_go_forward()
Comment 1 Carlos Garcia Campos 2011-10-11 01:53:46 PDT
Created attachment 110486 [details]
Patch
Comment 2 Carlos Garcia Campos 2011-10-11 02:06:25 PDT
I'll add unit tests for these methods to the backforwardlist test once bug #69343 is fixed.
Comment 3 Martin Robinson 2011-10-20 22:57:47 PDT
Comment on attachment 110486 [details]
Patch

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

This looks good to me!

> Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp:303
> + * Returns: %TRUE if able to move back, %FALSE otherwise.

, -> or

(based on our previous conversation)

> Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp:333
> + * Returns: %TRUE if able to move forward, %FALSE otherwise.

Ditto.
Comment 4 Carlos Garcia Campos 2011-10-21 01:16:16 PDT
Committed r98081: <http://trac.webkit.org/changeset/98081>