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..d54d0815ddab10da371c9269d827df8ea592d4e6 100644 |
--- a/ios/chrome/browser/ui/infobars/infobar_view.h |
+++ b/ios/chrome/browser/ui/infobars/infobar_view.h |
@@ -51,8 +51,8 @@ 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. |
jif
2017/04/21 11:12:48
Can you explain what NSUInteger is? For example:
gambard
2017/04/21 11:34:05
Done.
|
+- (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. |