| 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_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 Loading... |
| 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_ |
| OLD | NEW |