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

Unified Diff: chrome/browser/ui/autofill/autofill_popup_delegate.h

Issue 11636040: AutofillPopupController clarifications + simplifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: relative patchset Created 8 years 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: chrome/browser/ui/autofill/autofill_popup_delegate.h
diff --git a/chrome/browser/ui/autofill/autofill_popup_delegate.h b/chrome/browser/ui/autofill/autofill_popup_delegate.h
index 38f99e3a8efea95038291dac91c3a0288dffd1be..d7e6d3ef2e83672cb0bda342e43941bcccae5d63 100644
--- a/chrome/browser/ui/autofill/autofill_popup_delegate.h
+++ b/chrome/browser/ui/autofill/autofill_popup_delegate.h
@@ -16,12 +16,12 @@ class AutofillPopupDelegate {
virtual void SelectAutofillSuggestion(int unique_id) = 0;
// Inform the delegate that a row in the popup has been chosen.
- // TODO(estade): does this really need to return a value?
- virtual bool DidAcceptAutofillSuggestion(const string16& value,
- int unique_id,
- unsigned index) = 0;
+ // TODO(estade): this should only pass |unique_id|.
Ilya Sherman 2012/12/20 04:34:52 All autocomplete items have the same unique id, wh
Evan Stade 2012/12/20 20:01:25 doesn't sound very unique then. Those things shoul
Ilya Sherman 2012/12/20 21:57:42 Everything other than Autofill profiles and credit
Evan Stade 2012/12/20 23:03:59 how would the delegate know which password you're
Ilya Sherman 2012/12/20 23:11:55 A given username on a given site only ever has one
+ virtual void DidAcceptAutofillSuggestion(const string16& value,
+ int unique_id) = 0;
// Remove the given Autocomplete entry from the DB.
+ // TODO(estade): this should pass |unique_id|.
virtual void RemoveAutocompleteEntry(const string16& value) = 0;
// Remove the given Autofill profile or credit credit.

Powered by Google App Engine
This is Rietveld 408576698