Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7654)

Unified Diff: chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm

Issue 1364113003: Only (and always) put URLs in NSLinkAttributeName. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@infobar1
Patch Set: stray deletion Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm
diff --git a/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm b/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm
index 4789f2928f0d8da74dc38595160453ee421faa21..a5466bfecd6fea3b343a64f5dd81953c3b9e795d 100644
--- a/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm
@@ -372,7 +372,7 @@ bool ExtensionInstalledBubbleBridge::MaybeShowNow() {
HyperlinkTextView* view = promo_.get();
[view setMessage:message withFont:font messageColor:[NSColor blackColor]];
[view addLinkRange:NSMakeRange(0, [link length])
- withName:@""
+ withURL:@"about:blank" // using a link here is bad ui
linkColor:gfx::SkColorToCalibratedNSColor(
chrome_style::GetLinkColor())];

Powered by Google App Engine
This is Rietveld 408576698