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

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

Issue 2724073005: Remove NavigationManager::GetPreviousItem(). (Closed)
Patch Set: 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
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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 267
268 // Called when the browser state provided to this instance is being destroyed. 268 // Called when the browser state provided to this instance is being destroyed.
269 // At this point the tab model will no longer ever be active, and will likely be 269 // At this point the tab model will no longer ever be active, and will likely be
270 // deallocated soon. 270 // deallocated soon.
271 - (void)browserStateDestroyed; 271 - (void)browserStateDestroyed;
272 // Called by the Tab to inform its parent that it has been closed. 272 // Called by the Tab to inform its parent that it has been closed.
273 - (void)didCloseTab:(Tab*)closedTab; 273 - (void)didCloseTab:(Tab*)closedTab;
274 // Called by |tab| to inform the model that a navigation has taken place. 274 // Called by |tab| to inform the model that a navigation has taken place.
275 // TODO(crbug.com/661983): once more of the navigation state has moved into WC, 275 // TODO(crbug.com/661983): once more of the navigation state has moved into WC,
276 // replace this with WebStateObserver. 276 // replace this with WebStateObserver.
277 - (void)navigationCommittedInTab:(Tab*)tab; 277 - (void)navigationCommittedInTab:(Tab*)tab
278 previousItem:(web::NavigationItem*)previousItem;
278 279
279 @end 280 @end
280 281
281 #endif // IOS_CHROME_BROWSER_TABS_TAB_MODEL_H_ 282 #endif // IOS_CHROME_BROWSER_TABS_TAB_MODEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698