Index: ui/base/cocoa/controls/hyperlink_text_view.h |
diff --git a/ui/base/cocoa/controls/hyperlink_text_view.h b/ui/base/cocoa/controls/hyperlink_text_view.h |
index f04ad40b1823aee1b60fa85e0c5e2b39aec6b907..affe648d206bc012a42a43d04563a24d2867fc65 100644 |
--- a/ui/base/cocoa/controls/hyperlink_text_view.h |
+++ b/ui/base/cocoa/controls/hyperlink_text_view.h |
@@ -26,10 +26,9 @@ UI_BASE_EXPORT |
withFont:(NSFont*)font |
messageColor:(NSColor*)messageColor; |
-// Marks a |range| within the given message as link, associating it with |
-// a |name| that is passed to the delegate's textView:clickedOnLink:atIndex:. |
+// Marks a |range| within the given message as link. |
- (void)addLinkRange:(NSRange)range |
- withName:(id)name |
+ withURL:(NSString*)url |
linkColor:(NSColor*)linkColor; |
// This is NO (by default) if the view rejects first responder status. |