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 18aa57c4060565d5543969d63310f94aa93e22bc..54fa3a9ea0e97a3fe4dcd77eb1a29f4ccb7b43c6 100644 |
| --- a/chrome/browser/autofill/autofill_external_delegate.h |
| +++ b/chrome/browser/autofill/autofill_external_delegate.h |
| @@ -30,6 +30,9 @@ class Rect; |
| // display and selection. |
| class AutofillExternalDelegate { |
| public: |
| + // The value to give as the unique id for all warnings. |
| + static const int kWarningId = -1; |
|
Ilya Sherman
2012/04/18 18:12:51
nit: Let's use the new constants added in the WebK
csharp
2012/04/19 15:33:24
Done.
|
| + |
| virtual ~AutofillExternalDelegate(); |
| // When using an external Autofill delegate. Allows Chrome to tell |
| @@ -64,6 +67,12 @@ class AutofillExternalDelegate { |
| const webkit::forms::FormField& field, |
| const gfx::Rect& bounds); |
| + // Remove the given Autocomplete entry from the DB. |
| + void RemoveAutocompleteEntry(const string16& value); |
| + |
| + // Remove the given Autofill profile or credit credit. |
| + void RemoveAutofillProfileOrCreditCard(int unique_id); |
| + |
| // Inform the delegate that the text field editing has ended, this is |
| // used to help record the metrics of when a new popup is shown. |
| void DidEndTextFieldEditing(); |
| @@ -128,6 +137,9 @@ class AutofillExternalDelegate { |
| // this data. |
| void FillAutofillFormData(int unique_id, bool is_preview); |
| + // Adjust the positions of the Non-Autofill menu items. |
| + void AdjustIndicesAfterDeletion(); |
| + |
| TabContentsWrapper* tab_contents_wrapper_; // weak; owns me. |
| AutofillManager* autofill_manager_; // weak. |