Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Side by Side Diff: ios/chrome/browser/tabs/tab.h

Issue 2807063006: [ios] Reduce access to private //ios/web API. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 211
212 // Navigate forwards or backwards to |item|. 212 // Navigate forwards or backwards to |item|.
213 - (void)goToItem:(const web::NavigationItem*)item; 213 - (void)goToItem:(const web::NavigationItem*)item;
214 214
215 // Navigates forwards or backwards. 215 // Navigates forwards or backwards.
216 // TODO(crbug.com/661664): These are passthroughs to CRWWebController. Convert 216 // TODO(crbug.com/661664): These are passthroughs to CRWWebController. Convert
217 // all callers and remove these methods. 217 // all callers and remove these methods.
218 - (void)goBack; 218 - (void)goBack;
219 - (void)goForward; 219 - (void)goForward;
220 220
221 // Records the state (scroll position, form values, whatever can be
222 // harvested) from the current page into the current session entry.
223 - (void)recordStateInHistory;
224
225 // Returns the timestamp of the last time the tab is visited. 221 // Returns the timestamp of the last time the tab is visited.
226 - (double)lastVisitedTimestamp; 222 - (double)lastVisitedTimestamp;
227 223
228 // Updates the timestamp of the last time the tab is visited. 224 // Updates the timestamp of the last time the tab is visited.
229 - (void)updateLastVisitedTimestamp; 225 - (void)updateLastVisitedTimestamp;
230 226
231 // Returns the infobars::InfoBarManager object for this tab. 227 // Returns the infobars::InfoBarManager object for this tab.
232 - (infobars::InfoBarManager*)infoBarManager; 228 - (infobars::InfoBarManager*)infoBarManager;
233 229
234 // Whether the content of the current tab is compatible with reader mode. 230 // Whether the content of the current tab is compatible with reader mode.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 // Evaluates U2F result. 291 // Evaluates U2F result.
296 - (void)evaluateU2FResultFromURL:(const GURL&)url; 292 - (void)evaluateU2FResultFromURL:(const GURL&)url;
297 293
298 // Cancels prerendering. It is an error to call this on anything except a 294 // Cancels prerendering. It is an error to call this on anything except a
299 // prerender tab (where |isPrerenderTab| is set to YES). 295 // prerender tab (where |isPrerenderTab| is set to YES).
300 - (void)discardPrerender; 296 - (void)discardPrerender;
301 297
302 @end 298 @end
303 299
304 #endif // IOS_CHROME_BROWSER_TABS_TAB_H_ 300 #endif // IOS_CHROME_BROWSER_TABS_TAB_H_
OLDNEW
« no previous file with comments | « no previous file | ios/chrome/browser/tabs/tab.mm » ('j') | ios/chrome/browser/tabs/tab_model_selected_tab_observer.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698