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

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

Issue 2724073005: Remove NavigationManager::GetPreviousItem(). (Closed)
Patch Set: Address comments. Created 3 years, 9 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
« no previous file with comments | « ios/chrome/browser/tabs/tab.mm ('k') | ios/chrome/browser/tabs/tab_model.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_MODEL_H_ 5 #ifndef IOS_CHROME_BROWSER_TABS_TAB_MODEL_H_
6 #define IOS_CHROME_BROWSER_TABS_TAB_MODEL_H_ 6 #define IOS_CHROME_BROWSER_TABS_TAB_MODEL_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 #import <UIKit/UIKit.h> 9 #import <UIKit/UIKit.h>
10 10
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 271
272 // Called when the browser state provided to this instance is being destroyed. 272 // Called when the browser state provided to this instance is being destroyed.
273 // At this point the tab model will no longer ever be active, and will likely be 273 // At this point the tab model will no longer ever be active, and will likely be
274 // deallocated soon. 274 // deallocated soon.
275 - (void)browserStateDestroyed; 275 - (void)browserStateDestroyed;
276 // Called by the Tab to inform its parent that it has been closed. 276 // Called by the Tab to inform its parent that it has been closed.
277 - (void)didCloseTab:(Tab*)closedTab; 277 - (void)didCloseTab:(Tab*)closedTab;
278 // Called by |tab| to inform the model that a navigation has taken place. 278 // Called by |tab| to inform the model that a navigation has taken place.
279 // TODO(crbug.com/661983): once more of the navigation state has moved into WC, 279 // TODO(crbug.com/661983): once more of the navigation state has moved into WC,
280 // replace this with WebStateObserver. 280 // replace this with WebStateObserver.
281 - (void)navigationCommittedInTab:(Tab*)tab; 281 - (void)navigationCommittedInTab:(Tab*)tab
282 previousItem:(web::NavigationItem*)previousItem;
282 283
283 @end 284 @end
284 285
285 #endif // IOS_CHROME_BROWSER_TABS_TAB_MODEL_H_ 286 #endif // IOS_CHROME_BROWSER_TABS_TAB_MODEL_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/tabs/tab.mm ('k') | ios/chrome/browser/tabs/tab_model.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698