| Index: ios/shared/chrome/browser/ui/coordinators/browser_coordinator.h
|
| diff --git a/ios/shared/chrome/browser/ui/coordinators/browser_coordinator.h b/ios/shared/chrome/browser/ui/coordinators/browser_coordinator.h
|
| index 4102a3c74b45b18ab3adc4e261eb59ddfa2d3e05..584490153c31c07cd1dbc229f031e65b0050ab95 100644
|
| --- a/ios/shared/chrome/browser/ui/coordinators/browser_coordinator.h
|
| +++ b/ios/shared/chrome/browser/ui/coordinators/browser_coordinator.h
|
| @@ -8,6 +8,7 @@
|
| #import <UIKit/UIKit.h>
|
|
|
| class Browser;
|
| +@class CommandDispatcher;
|
|
|
| // An object that manages a UI component via a view controller.
|
| // This is the public interface to this class; subclasses should also import
|
| @@ -21,6 +22,13 @@ class Browser;
|
| // doesn't transfer ownership of the browser.
|
| @property(nonatomic, assign) Browser* browser;
|
|
|
| +// The dispatcher this object should use to register and send commands.
|
| +// By default this is populated with the parent coordinator's dispatcher.
|
| +@property(nonatomic) CommandDispatcher* dispatcher;
|
| +
|
| +// self.dispatcher cast to |id|
|
| +@property(nonatomic, readonly) id callableDispatcher;
|
| +
|
| // The basic lifecycle methods for coordinators are -start and -stop. These
|
| // implementations notify the parent coordinator when this coordinator did start
|
| // and will stop. Child classes are expected to override and call the superclass
|
|
|