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

Unified Diff: chrome/browser/autofill/autofill_external_delegate.h

Issue 11636040: AutofillPopupController clarifications + simplifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ilya review 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/autofill/autofill_external_delegate.h
diff --git a/chrome/browser/autofill/autofill_external_delegate.h b/chrome/browser/autofill/autofill_external_delegate.h
index 2f278e5c5e440d3ed87655a56832a97a35e8407f..553b3da212efe80f58e58965c8d84cdc30260cbe 100644
--- a/chrome/browser/autofill/autofill_external_delegate.h
+++ b/chrome/browser/autofill/autofill_external_delegate.h
@@ -9,8 +9,8 @@
#include "base/compiler_specific.h"
#include "base/string16.h"
-#include "chrome/browser/autofill/autofill_popup_delegate.h"
#include "chrome/browser/autofill/password_autofill_manager.h"
+#include "chrome/browser/ui/autofill/autofill_popup_delegate.h"
#include "chrome/common/form_data.h"
#include "chrome/common/form_field_data.h"
#include "chrome/common/password_form_fill_data.h"
@@ -47,13 +47,12 @@ class AutofillExternalDelegate
AutofillManager* autofill_manager);
// AutofillPopupDelegate implementation.
- virtual void SelectAutofillSuggestionAtIndex(int unique_id) OVERRIDE;
- virtual bool DidAcceptAutofillSuggestion(const string16& value,
- int unique_id,
- unsigned index) OVERRIDE;
- virtual void ClearPreviewedForm() OVERRIDE;
+ virtual void DidSelectSuggestion(int identifier) OVERRIDE;
+ virtual void DidAcceptSuggestion(const string16& value,
+ int identifier) OVERRIDE;
Ilya Sherman 2012/12/20 21:57:42 nit: Alignment
Evan Stade 2012/12/20 23:04:00 Done.
+ virtual void RemoveSuggestion(int identifier) OVERRIDE;
virtual void RemoveAutocompleteEntry(const string16& value) OVERRIDE;
Ilya Sherman 2012/12/20 21:57:42 Let's combine these two methods into a single meth
Evan Stade 2012/12/20 23:04:00 Done.
- virtual void RemoveAutofillProfileOrCreditCard(int unique_id) OVERRIDE;
+ virtual void ClearPreviewedForm() OVERRIDE;
virtual void ControllerDestroyed() OVERRIDE;
// Records and associates a query_id with web form data. Called

Powered by Google App Engine
This is Rietveld 408576698