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

Unified Diff: components/password_manager/content/browser/content_password_manager_driver.cc

Issue 2762233004: Fix autofill popup controller key press callback registration (Closed)
Patch Set: Fix typo Created 3 years, 8 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: components/password_manager/content/browser/content_password_manager_driver.cc
diff --git a/components/password_manager/content/browser/content_password_manager_driver.cc b/components/password_manager/content/browser/content_password_manager_driver.cc
index 1383730f62f13142e6bf4af41a3e0f1da0e0bc68..90b20e9f4e36024e25346ab85281be23e4e93800 100644
--- a/components/password_manager/content/browser/content_password_manager_driver.cc
+++ b/components/password_manager/content/browser/content_password_manager_driver.cc
@@ -156,6 +156,11 @@ void ContentPasswordManagerDriver::AllowToRunFormClassifier() {
GetPasswordGenerationAgent()->AllowToRunFormClassifier();
}
+autofill::AutofillDriver* ContentPasswordManagerDriver::GetAutofillDriver() {
+ return autofill::ContentAutofillDriver::GetForRenderFrameHost(
+ render_frame_host_);
+}
+
PasswordGenerationManager*
ContentPasswordManagerDriver::GetPasswordGenerationManager() {
return &password_generation_manager_;

Powered by Google App Engine
This is Rietveld 408576698