| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef IOS_CHROME_BROWSER_TABS_TAB_H_ | 5 #ifndef IOS_CHROME_BROWSER_TABS_TAB_H_ |
| 6 #define IOS_CHROME_BROWSER_TABS_TAB_H_ | 6 #define IOS_CHROME_BROWSER_TABS_TAB_H_ |
| 7 | 7 |
| 8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 | 220 |
| 221 // Navigate forwards or backwards to |item|. | 221 // Navigate forwards or backwards to |item|. |
| 222 - (void)goToItem:(const web::NavigationItem*)item; | 222 - (void)goToItem:(const web::NavigationItem*)item; |
| 223 | 223 |
| 224 // Navigates forwards or backwards. | 224 // Navigates forwards or backwards. |
| 225 // TODO(crbug.com/661664): These are passthroughs to CRWWebController. Convert | 225 // TODO(crbug.com/661664): These are passthroughs to CRWWebController. Convert |
| 226 // all callers and remove these methods. | 226 // all callers and remove these methods. |
| 227 - (void)goBack; | 227 - (void)goBack; |
| 228 - (void)goForward; | 228 - (void)goForward; |
| 229 | 229 |
| 230 // Records the state (scroll position, form values, whatever can be | |
| 231 // harvested) from the current page into the current session entry. | |
| 232 - (void)recordStateInHistory; | |
| 233 | |
| 234 // Returns the timestamp of the last time the tab is visited. | 230 // Returns the timestamp of the last time the tab is visited. |
| 235 - (double)lastVisitedTimestamp; | 231 - (double)lastVisitedTimestamp; |
| 236 | 232 |
| 237 // Updates the timestamp of the last time the tab is visited. | 233 // Updates the timestamp of the last time the tab is visited. |
| 238 - (void)updateLastVisitedTimestamp; | 234 - (void)updateLastVisitedTimestamp; |
| 239 | 235 |
| 240 // Returns the infobars::InfoBarManager object for this tab. | 236 // Returns the infobars::InfoBarManager object for this tab. |
| 241 - (infobars::InfoBarManager*)infoBarManager; | 237 - (infobars::InfoBarManager*)infoBarManager; |
| 242 | 238 |
| 243 // Whether the content of the current tab is compatible with reader mode. | 239 // Whether the content of the current tab is compatible with reader mode. |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 // Evaluates U2F result. | 301 // Evaluates U2F result. |
| 306 - (void)evaluateU2FResultFromURL:(const GURL&)url; | 302 - (void)evaluateU2FResultFromURL:(const GURL&)url; |
| 307 | 303 |
| 308 // Cancels prerendering. It is an error to call this on anything except a | 304 // Cancels prerendering. It is an error to call this on anything except a |
| 309 // prerender tab (where |isPrerenderTab| is set to YES). | 305 // prerender tab (where |isPrerenderTab| is set to YES). |
| 310 - (void)discardPrerender; | 306 - (void)discardPrerender; |
| 311 | 307 |
| 312 @end | 308 @end |
| 313 | 309 |
| 314 #endif // IOS_CHROME_BROWSER_TABS_TAB_H_ | 310 #endif // IOS_CHROME_BROWSER_TABS_TAB_H_ |
| OLD | NEW |