| Index: ios/chrome/browser/ui/infobars/infobar_view.h
|
| diff --git a/ios/chrome/browser/ui/infobars/infobar_view.h b/ios/chrome/browser/ui/infobars/infobar_view.h
|
| index 1dca2431e89ad9d5a0b8bfff37e1ab296dbad427..57be6042ffbdaa4072bb6ae2511d3fbee22640b8 100644
|
| --- a/ios/chrome/browser/ui/infobars/infobar_view.h
|
| +++ b/ios/chrome/browser/ui/infobars/infobar_view.h
|
| @@ -51,8 +51,9 @@ class InfoBarViewDelegate;
|
| - (void)addLabel:(NSString*)label;
|
|
|
| // Adds a message to the infobar that optionaly contains links initialized with
|
| -// |stringAsLink:|. |action| is called on |target| when a link is clicked.
|
| -- (void)addLabel:(NSString*)label target:(id)target action:(SEL)action;
|
| +// |stringAsLink:|. |action| is called when a link is clicked, with the tag
|
| +// associated with the link passed as a parameter..
|
| +- (void)addLabel:(NSString*)label action:(void (^)(NSUInteger))action;
|
|
|
| // Adds two buttons to the infobar. Button1 is the primary action of the infobar
|
| // and in Material Design mode is shown with bold colors to reflect this role.
|
|
|