| 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..803485d8c38ec611efe2329052a72f8bb07d139b 100644
|
| --- a/chrome/browser/autofill/autofill_external_delegate.h
|
| +++ b/chrome/browser/autofill/autofill_external_delegate.h
|
| @@ -34,8 +34,7 @@ class AutofillExternalDelegate {
|
|
|
| // When using an external Autofill delegate. Allows Chrome to tell
|
| // WebKit which Autofill selection has been chosen.
|
| - // TODO(jrg): add feedback mechanism for hover on relevant platforms.
|
| - virtual void SelectAutofillSuggestionAtIndex(int unique_id, int list_index);
|
| + virtual void SelectAutofillSuggestionAtIndex(int unique_id);
|
|
|
| // Records and associates a query_id with web form data. Called
|
| // when the renderer posts an Autofill query to the browser. |bounds|
|
| @@ -64,6 +63,12 @@ class AutofillExternalDelegate {
|
| const webkit::forms::FormField& field,
|
| const gfx::Rect& bounds);
|
|
|
| + // Remove the given Autocomplete entry from the DB.
|
| + virtual void RemoveAutocompleteEntry(const string16& value);
|
| +
|
| + // Remove the given Autofill profile or credit credit.
|
| + virtual 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();
|
| @@ -106,8 +111,7 @@ class AutofillExternalDelegate {
|
| const std::vector<string16>& autofill_values,
|
| const std::vector<string16>& autofill_labels,
|
| const std::vector<string16>& autofill_icons,
|
| - const std::vector<int>& autofill_unique_ids,
|
| - int separator_index) = 0;
|
| + const std::vector<int>& autofill_unique_ids) = 0;
|
|
|
| // Handle instance specific OnQueryCode.
|
| virtual void OnQueryPlatformSpecific(int query_id,
|
| @@ -149,12 +153,6 @@ class AutofillExternalDelegate {
|
| // currently editing? Used to keep track of state for metrics logging.
|
| bool has_shown_autofill_popup_for_current_edit_;
|
|
|
| - // The menu index of the "Clear" menu item.
|
| - int suggestions_clear_index_;
|
| -
|
| - // The menu index of the "Autofill options..." menu item.
|
| - int suggestions_options_index_;
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate);
|
| };
|
|
|
|
|