Index: components/autofill/core/browser/autofill_external_delegate.h |
diff --git a/components/autofill/core/browser/autofill_external_delegate.h b/components/autofill/core/browser/autofill_external_delegate.h |
index 6f3f4d7067648993ba127a9c15084549406157d4..4ef5dc079be8ae829e69001fd7b1b275a40145af 100644 |
--- a/components/autofill/core/browser/autofill_external_delegate.h |
+++ b/components/autofill/core/browser/autofill_external_delegate.h |
@@ -17,6 +17,10 @@ |
#include "components/autofill/core/common/password_form_fill_data.h" |
#include "ui/gfx/rect.h" |
+namespace blink { |
+class WebFormElement; |
+} |
+ |
namespace gfx { |
class Rect; |
} |
@@ -61,6 +65,7 @@ class AutofillExternalDelegate |
virtual void OnQuery(int query_id, |
const FormData& form, |
const FormFieldData& field, |
+ const blink::WebFormElement& element, |
const gfx::RectF& element_bounds, |
bool display_warning_if_disabled); |
@@ -77,6 +82,7 @@ class AutofillExternalDelegate |
void OnShowPasswordSuggestions(const std::vector<base::string16>& suggestions, |
const std::vector<base::string16>& realms, |
const FormFieldData& field, |
+ const blink::WebFormElement& element, |
const gfx::RectF& bounds); |
// Set the data list value associated with the current field. |
@@ -144,6 +150,7 @@ class AutofillExternalDelegate |
// The current form and field selected by Autofill. |
FormData autofill_query_form_; |
FormFieldData autofill_query_field_; |
+ blink::WebFormElement web_form_element_; |
// The bounds of the form field that user is interacting with. |
gfx::RectF element_bounds_; |