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

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

Issue 148413002: Add "previewing on hover" support for single-field autocomplete input (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and update code as per Ilya's comments Created 6 years, 9 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/autofill_popup_delegate.h
diff --git a/components/autofill/core/browser/autofill_popup_delegate.h b/components/autofill/core/browser/autofill_popup_delegate.h
index dec139cfb83cebfce27aad03389cb996b28cb722..b94b33a9747b530f4f2b562b3affb72a5af129bc 100644
--- a/components/autofill/core/browser/autofill_popup_delegate.h
+++ b/components/autofill/core/browser/autofill_popup_delegate.h
@@ -29,7 +29,8 @@ class AutofillPopupDelegate {
// Called when the autofill suggestion indicated by |identifier| has been
// temporarily selected (e.g., hovered).
- virtual void DidSelectSuggestion(int identifier) = 0;
+ virtual void DidSelectSuggestion(const base::string16& value,
+ int identifier) = 0;
// Inform the delegate that a row in the popup has been chosen.
virtual void DidAcceptSuggestion(const base::string16& value,

Powered by Google App Engine
This is Rietveld 408576698