Changeset 164067 in webkit
- Timestamp:
- Feb 13, 2014 3:33:34 PM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r164054 r164067 1 2014-02-13 Anders Carlsson <andersca@apple.com> 2 3 Add -[WKWebView goToBackForwardListItem:] 4 https://bugs.webkit.org/show_bug.cgi?id=128773 5 6 Reviewed by Andreas Kling. 7 8 * UIProcess/API/Cocoa/WKWebView.h: 9 * UIProcess/API/Cocoa/WKWebView.mm: 10 (-[WKWebView goToBackForwardListItem:]): 11 1 12 2014-02-13 Anders Carlsson <andersca@apple.com> 2 13 -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.h
r163994 r164067 36 36 37 37 @class WKBackForwardList; 38 @class WKBackForwardListItem; 38 39 @class WKNavigation; 39 40 @class WKWebViewConfiguration; … … 78 79 - (WKNavigation *)loadRequest:(NSURLRequest *)request; 79 80 81 /*! @abstract Navigates to an item from the back-forward list and sets it as the current item. 82 @param item The item to navigate to. Must be one of the items in the receiver's back-forward 83 list. 84 @result A new navigation to requested item, or nil if it is the current item. 85 @seealso backForwardList 86 */ 87 - (WKNavigation *)goToBackForwardListItem:(WKBackForwardListItem *)item; 88 80 89 @property (nonatomic, readonly) NSString *title; 81 90 -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm
r164050 r164067 33 33 #import "RemoteObjectRegistryMessages.h" 34 34 #import "WKBackForwardListInternal.h" 35 #import "WKBackForwardListItemInternal.h" 35 36 #import "WKNavigationDelegate.h" 36 37 #import "WKNavigationInternal.h" … … 178 179 } 179 180 181 - (WKNavigation *)goToBackForwardListItem:(WKBackForwardListItem *)item 182 { 183 _page->goToBackForwardItem(&item._item); 184 185 // FIXME: return a WKNavigation object. 186 return nil; 187 } 188 180 189 - (NSString *)title 181 190 {
Note: See TracChangeset
for help on using the changeset viewer.