Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(479)

Unified Diff: components/autofill/core/browser/autocomplete_history_manager.h

Issue 482643004: Fix a trio of autofill popup issues (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert is_popup_possibly_showing_ chagnes Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/autocomplete_history_manager.h
diff --git a/components/autofill/core/browser/autocomplete_history_manager.h b/components/autofill/core/browser/autocomplete_history_manager.h
index 03200342cce9b816a5877da7d10dce014a4c5027..9d06ffcc8a8116596cc29907276cc22105b9d6cc 100644
--- a/components/autofill/core/browser/autocomplete_history_manager.h
+++ b/components/autofill/core/browser/autocomplete_history_manager.h
@@ -46,6 +46,9 @@ class AutocompleteHistoryManager : public WebDataServiceConsumer {
const std::vector<int>& autofill_unique_ids);
virtual void OnFormSubmitted(const FormData& form);
+ // Cancels the currently pending WebDataService query, if there is one.
+ void CancelPendingQuery();
+
// Must be public for the external delegate to use.
void OnRemoveAutocompleteEntry(const base::string16& name,
const base::string16& value);
@@ -60,9 +63,6 @@ class AutocompleteHistoryManager : public WebDataServiceConsumer {
void SendSuggestions(const std::vector<base::string16>* suggestions);
private:
- // Cancels the currently pending WebDataService query, if there is one.
- void CancelPendingQuery();
-
// Provides driver-level context. Must outlive this object.
AutofillDriver* driver_;
scoped_refptr<AutofillWebDataService> database_;
« no previous file with comments | « components/autofill/content/renderer/autofill_agent.cc ('k') | components/autofill/core/browser/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698