| Index: ios/shared/chrome/browser/ui/commands/command_dispatcher.h
|
| diff --git a/ios/shared/chrome/browser/ui/commands/command_dispatcher.h b/ios/shared/chrome/browser/ui/commands/command_dispatcher.h
|
| index eaf784fb1221b1aff2e247be769e0ba09973fe7a..ddc80e00fa80249d936d22b449d72c5d2766e4e6 100644
|
| --- a/ios/shared/chrome/browser/ui/commands/command_dispatcher.h
|
| +++ b/ios/shared/chrome/browser/ui/commands/command_dispatcher.h
|
| @@ -19,6 +19,16 @@
|
| // Removes forwarding registration for the given |selector|.
|
| - (void)stopDispatchingForSelector:(SEL)selector;
|
|
|
| +// Registers the given |target| to receive forwarded messages for the methods of
|
| +// the given |protocol|. Only required instance methods are registered. The
|
| +// other definitions in the protocol are ignored.
|
| +- (void)startDispatchingToTarget:(id)target forProtocol:(Protocol*)protocol;
|
| +
|
| +// Removes forwarding registration for the given |selector|. Only dispatching to
|
| +// required instance methods is removed. The other definitions in the protocol
|
| +// are ignored.
|
| +- (void)stopDispatchingForProtocol:(Protocol*)protocol;
|
| +
|
| // Removes all forwarding registrations for the given |target|.
|
| - (void)stopDispatchingToTarget:(id)target;
|
|
|
|
|