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

Unified Diff: components/autofill/core/browser/autofill_popup_delegate.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/autofill/core/browser/autofill_popup_delegate.h
diff --git a/components/autofill/core/browser/autofill_popup_delegate.h b/components/autofill/core/browser/autofill_popup_delegate.h
index 5a864242755b154a757e22e2d6b8315f20fb6f4c..6febbf91cfc9ad94f9eb4531c1bd3ce4f6048817 100644
--- a/components/autofill/core/browser/autofill_popup_delegate.h
+++ b/components/autofill/core/browser/autofill_popup_delegate.h
@@ -9,6 +9,8 @@
namespace autofill {
+class AutofillDriver;
+
// An interface for interaction with AutofillPopupController. Will be notified
// of events by the controller.
class AutofillPopupDelegate {
@@ -46,6 +48,9 @@ class AutofillPopupDelegate {
// Returns true if popup is for credit card.
virtual bool IsCreditCardPopup() = 0;
+
+ // Returns the associated AutofillDriver.
+ virtual AutofillDriver* GetAutofillDriver() = 0;
};
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698