Chromium Code Reviews| Index: ios/clean/chrome/browser/ui/toolbar/toolbar_mediator.h |
| diff --git a/ios/clean/chrome/browser/ui/toolbar/toolbar_mediator.h b/ios/clean/chrome/browser/ui/toolbar/toolbar_mediator.h |
| index 2afe96d3c03f66e2fd448f3a5a6e7bef38d584f7..6cdd4d8ee655e36ee891bfddc3ef718b4809da25 100644 |
| --- a/ios/clean/chrome/browser/ui/toolbar/toolbar_mediator.h |
| +++ b/ios/clean/chrome/browser/ui/toolbar/toolbar_mediator.h |
| @@ -12,6 +12,7 @@ |
| namespace web { |
| class WebState; |
| } |
| +class WebStateList; |
| // A mediator object that provides the relevant properties of a web state |
| // to a consumer. |
| @@ -21,10 +22,17 @@ class WebState; |
| // the lifetime of this object and may be null. |
| @property(nonatomic, assign) web::WebState* webState; |
|
edchin
2017/05/27 16:25:06
Perhaps in another CL:
This webState should be tak
sczs
2017/05/30 00:18:21
Thanks for pointing this out! Will follow the Phan
|
| +// The WebStateList that this mediator listens for any changes on the total |
| +// number of Webstates. |
| +@property(nonatomic, assign) WebStateList* webStateList; |
| + |
| // The consumer for this object. This can change during the lifetime of this |
| // object and may be nil. |
| @property(nonatomic, strong) id<ToolbarConsumer> consumer; |
| +// Stops observing all objects. |
| +- (void)disconnect; |
| + |
| @end |
| #endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MEDIATOR_H_ |