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

Unified Diff: chrome/browser/ui/cocoa/exclusive_access_bubble_window_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/exclusive_access_bubble_window_controller.mm
diff --git a/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm b/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm
index 6d68353840d803a863a4127552b0e80f4fc7986e..197f3df1f18f97bdd6ac85498796bf7ec64edfe7 100644
--- a/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm
+++ b/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm
@@ -244,7 +244,7 @@ const float kHideDuration = 0.7;
messageColor:[NSColor blackColor]];
if ([exitLinkText length] != 0) {
[exitLabel_.get() addLinkRange:NSMakeRange(0, [exitLinkText length])
- withName:@""
+ withURL:@"about:blank" // using link here is bad ui
linkColor:[NSColor blueColor]];
}
[exitLabel_.get() setAlignment:NSRightTextAlignment];

Powered by Google App Engine
This is Rietveld 408576698