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

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: Stated that no-op for new Autocomplete functions in autofill dialog file. Created 6 years, 11 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..1c224be7c34720ab3a810faae706840a7f8a1c11 100644
--- a/components/autofill/core/browser/autofill_popup_delegate.h
+++ b/components/autofill/core/browser/autofill_popup_delegate.h
@@ -31,6 +31,10 @@ class AutofillPopupDelegate {
// temporarily selected (e.g., hovered).
virtual void DidSelectSuggestion(int identifier) = 0;
+ // Called when the Autocomplete suggestion has been temporarily selected
+ // (e.g., hovered).
+ virtual void DidSelectAutocompleteSuggestion(const base::string16& value) = 0;
+
// Inform the delegate that a row in the popup has been chosen.
virtual void DidAcceptSuggestion(const base::string16& value,
int identifier) = 0;
@@ -41,6 +45,10 @@ class AutofillPopupDelegate {
// Informs the delegate that the Autofill previewed form should be cleared.
virtual void ClearPreviewedForm() = 0;
+
+ // Informs the delegate that the Autocomplete previewed field should be
+ // cleared.
+ virtual void ClearAutocompletePreviewedField() = 0;
};
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698