summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete_history_manager.h
diff options
context:
space:
mode:
authorcsharp@chromium.org <csharp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-02 14:30:15 +0000
committercsharp@chromium.org <csharp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-02 14:30:15 +0000
commit4c572eaac8ecf4bbf2a3594980db89b7eacded2e (patch)
treeab3aaeb4b996e1152e3de1d841b96a25873cbe66 /chrome/browser/autocomplete_history_manager.h
parenta388525aa564c1f4726ad6de75c3e33ad8b73d7b (diff)
downloadchromium_src-4c572eaac8ecf4bbf2a3594980db89b7eacded2e.zip
chromium_src-4c572eaac8ecf4bbf2a3594980db89b7eacded2e.tar.gz
chromium_src-4c572eaac8ecf4bbf2a3594980db89b7eacded2e.tar.bz2
Add Delete Support to New Autofill UI
Adds the backend support for the new Autofill UI so that hitting shift delete with remove Autocomplete entries from the popup and the database. BUG=51644 TEST=Autocomplete entries can be deleted when using the new Autofill UI Review URL: http://codereview.chromium.org/10073018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134909 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete_history_manager.h')
-rw-r--r--chrome/browser/autocomplete_history_manager.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/autocomplete_history_manager.h b/chrome/browser/autocomplete_history_manager.h
index 1dfd34b..5c33bd3 100644
--- a/chrome/browser/autocomplete_history_manager.h
+++ b/chrome/browser/autocomplete_history_manager.h
@@ -50,6 +50,9 @@ class AutocompleteHistoryManager : public content::WebContentsObserver,
const std::vector<int>& autofill_unique_ids);
void OnFormSubmitted(const webkit::forms::FormData& form);
+ // Must be public for the external delegate to use.
+ void OnRemoveAutocompleteEntry(const string16& name, const string16& value);
+
// Sets our external delegate.
void SetExternalDelegate(AutofillExternalDelegate* delegate);
@@ -74,8 +77,6 @@ class AutocompleteHistoryManager : public content::WebContentsObserver,
}
private:
- void OnRemoveAutocompleteEntry(const string16& name, const string16& value);
-
Profile* profile_;
scoped_refptr<WebDataService> web_data_service_;