Index: components/autofill/content/browser/content_autofill_driver.cc |
diff --git a/components/autofill/content/browser/content_autofill_driver.cc b/components/autofill/content/browser/content_autofill_driver.cc |
index a3bba0f250bb23975b6014820d73b51513c07a75..0724710f6a513e0d7997ed0681c288756f4832f9 100644 |
--- a/components/autofill/content/browser/content_autofill_driver.cc |
+++ b/components/autofill/content/browser/content_autofill_driver.cc |
@@ -11,6 +11,7 @@ |
#include "components/autofill/core/browser/autofill_external_delegate.h" |
#include "components/autofill/core/browser/autofill_manager.h" |
#include "components/autofill/core/browser/form_structure.h" |
+#include "components/autofill/core/common/autofill_constants.h" |
#include "components/autofill/core/common/autofill_switches.h" |
#include "content/public/browser/browser_context.h" |
#include "content/public/browser/browser_thread.h" |
@@ -232,4 +233,10 @@ void ContentAutofillDriver::WasHidden() { |
autofill_manager_->client()->HideAutofillPopup(); |
} |
+void ContentAutofillDriver::LinkClicked(const GURL& url, |
+ WindowOpenDisposition disposition) { |
+ web_contents()->OpenURL(content::OpenURLParams( |
+ url, content::Referrer(), disposition, ui::PAGE_TRANSITION_LINK, false)); |
+} |
+ |
} // namespace autofill |