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

Unified Diff: chrome/browser/ui/cocoa/confirm_bubble_controller.mm

Issue 1361253002: Separate the URL of an infobar link with clicking on it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pkasting 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
« no previous file with comments | « chrome/browser/ui/cocoa/confirm_bubble_controller.h ('k') | chrome/browser/ui/confirm_bubble_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/confirm_bubble_controller.mm
diff --git a/chrome/browser/ui/cocoa/confirm_bubble_controller.mm b/chrome/browser/ui/cocoa/confirm_bubble_controller.mm
index db62ce0395effb437f401f6e3db8017772c67e4a..b7143e7ee4db7f2bf42e73c68c6b36459114efda 100644
--- a/chrome/browser/ui/cocoa/confirm_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/confirm_bubble_controller.mm
@@ -51,6 +51,10 @@
return base::SysUTF16ToNSString(model_->GetLinkText());
}
+- (NSString*)linkURL {
+ return base::SysUTF8ToNSString(model_->GetLinkURL().spec());
+}
+
- (NSString*)okButtonText {
return base::SysUTF16ToNSString(
model_->GetButtonLabel(ConfirmBubbleModel::BUTTON_OK));
« no previous file with comments | « chrome/browser/ui/cocoa/confirm_bubble_controller.h ('k') | chrome/browser/ui/confirm_bubble_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698