Chromium Code Reviews| Index: chrome/browser/autofill/autofill_external_delegate.h |
| diff --git a/chrome/browser/autofill/autofill_external_delegate.h b/chrome/browser/autofill/autofill_external_delegate.h |
| index b3413045783364221bb638a2667de391959e6d68..44e9ad1078f476f034a3176e935335bdd7877265 100644 |
| --- a/chrome/browser/autofill/autofill_external_delegate.h |
| +++ b/chrome/browser/autofill/autofill_external_delegate.h |
| @@ -10,8 +10,10 @@ |
| #include "base/compiler_specific.h" |
| #include "base/string16.h" |
| +#include "chrome/browser/autofill/password_autofill_manager.h" |
| #include "webkit/forms/form_data.h" |
| #include "webkit/forms/form_field.h" |
| +#include "webkit/forms/password_form_dom_manager.h" |
| class AutofillManager; |
| class TabContentsWrapper; |
| @@ -72,6 +74,15 @@ class AutofillExternalDelegate { |
| // Hide the Autofill poup. |
| virtual void HideAutofillPopup(); |
| + // Returns the delegate to its starting state by removing any page specific |
| + // values or settings. |
| + void Reset(); |
| + |
| + // Inform the Password Manager of a filled form. |
| + void AddPasswordFormMapping( |
| + const webkit::forms::FormField& form, |
| + const webkit::forms::PasswordFormFillData& fill_data); |
| + |
| // Platforms that wish to implement an external Autofill delegate |
| // MUST implement this. The 1st arg is the tab contents that owns |
| // this delegate; the second is the Autofill manager owned by the |
| @@ -111,6 +122,9 @@ class AutofillExternalDelegate { |
| TabContentsWrapper* tab_contents_wrapper_; // weak; owns me. |
| AutofillManager* autofill_manager_; // weak. |
| + // Password Autofill manager, handles all password related Autofilling. |
|
Ilya Sherman
2012/03/15 18:27:41
nit: "password related" -> "password-related"
csharp
2012/03/16 20:21:12
Done.
|
| + PasswordAutofillManager password_autofill_manager_; |
| + |
| // The ID of the last request sent for form field Autofill. Used to ignore |
| // out of date responses. |
| int autofill_query_id_; |