Chromium Code Reviews| Index: ios/web/navigation/crw_session_controller.h |
| diff --git a/ios/web/navigation/crw_session_controller.h b/ios/web/navigation/crw_session_controller.h |
| index 3e6b98a1edf1649af7029e26d7419729b4fe325e..7b2e829ae9bc1d8297ba1dbd55bec87a5e4effda 100644 |
| --- a/ios/web/navigation/crw_session_controller.h |
| +++ b/ios/web/navigation/crw_session_controller.h |
| @@ -114,6 +114,7 @@ struct SSLStatus; |
| // current entry. |
| - (BOOL)canGoBack; |
| - (BOOL)canGoForward; |
| +- (BOOL)canGoDelta:(int)delta; |
| // Adjusts the current entry to reflect the navigation in the corresponding |
| // direction in history. |
| - (void)goBack; |
| @@ -154,6 +155,11 @@ struct SSLStatus; |
| // entry, otherwise set |useDesktopUserAgent| in the pending entry. |
| - (void)useDesktopUserAgentForNextPendingEntry; |
| +// Returns the navigation index that differs from the current entry by the |
| +// specified |delta| skipping redirect navigation items. The index returned is |
|
kkhorimoto
2016/11/03 22:12:18
NIT: comma after |delta|
Eugene But (OOO till 7-30)
2016/11/03 22:50:21
Done.
|
| +// not guaranteed to be valid. |
| +- (NSInteger)indexOfEntryForDelta:(int)delta; |
| + |
| @end |
| #endif // IOS_WEB_NAVIGATION_CRW_SESSION_CONTROLLER_H_ |