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

Unified Diff: chrome/browser/ui/autofill/chrome_autofill_client.cc

Issue 2505533002: Http Bad: Add "Learn more" sublabel to warning message and make it clickable (Closed)
Patch Set: Created 4 years, 1 month 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/autofill/chrome_autofill_client.cc
diff --git a/chrome/browser/ui/autofill/chrome_autofill_client.cc b/chrome/browser/ui/autofill/chrome_autofill_client.cc
index 70354e9f7576431024ac355421e35e56277704e9..8b3fa8fcbd8c9d3b62054ca57155a7c87accbec3 100644
--- a/chrome/browser/ui/autofill/chrome_autofill_client.cc
+++ b/chrome/browser/ui/autofill/chrome_autofill_client.cc
@@ -392,4 +392,10 @@ void ChromeAutofillClient::StartSigninFlow() {
#endif
}
+void ChromeAutofillClient::OpenUrl(const GURL& url) {
+ web_contents()->OpenURL(content::OpenURLParams(
+ url, content::Referrer(), WindowOpenDisposition::NEW_FOREGROUND_TAB,
+ ui::PAGE_TRANSITION_LINK, false /* is_renderer_initiated */));
+}
+
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698