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

Unified Diff: chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h

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
Index: chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h
diff --git a/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h b/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h
index c01f2ef5f9d2454425ac259f65173c19b07f3327..3be6638b61ca99e3b3be615781ae9702665c20fb 100644
--- a/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h
+++ b/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h
@@ -28,6 +28,7 @@ class AlternateNavInfoBarDelegate : public infobars::InfoBarDelegate {
base::string16 GetMessageTextWithOffset(size_t* link_offset) const;
base::string16 GetLinkText() const;
+ GURL GetLinkURL() const;
bool LinkClicked(WindowOpenDisposition disposition);
private:

Powered by Google App Engine
This is Rietveld 408576698