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

Unified Diff: components/password_manager/core/browser/password_manager_driver.h

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/core/browser/password_manager_driver.h
diff --git a/components/password_manager/core/browser/password_manager_driver.h b/components/password_manager/core/browser/password_manager_driver.h
index 8ec6b5e82617f52771475132b1ca1b0c652f7ab9..028bf7273ac79a9fa0aee3ad65e401ce2d72edd5 100644
--- a/components/password_manager/core/browser/password_manager_driver.h
+++ b/components/password_manager/core/browser/password_manager_driver.h
@@ -14,6 +14,7 @@
#include "components/autofill/core/common/password_form_field_prediction_map.h"
namespace autofill {
+class AutofillDriver;
struct FormData;
struct PasswordForm;
struct PasswordFormGenerationData;
@@ -97,6 +98,9 @@ class PasswordManagerDriver
// Allows the form classifier to find generation fields.
virtual void AllowToRunFormClassifier() {}
+ // Return the associated AutofillDriver.
+ virtual autofill::AutofillDriver* GetAutofillDriver() = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(PasswordManagerDriver);
};

Powered by Google App Engine
This is Rietveld 408576698