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

Unified Diff: components/autofill/core/browser/autofill_driver.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: Addressed Ilya's 2nd set comments Created 6 years, 10 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_driver.h
diff --git a/components/autofill/core/browser/autofill_driver.h b/components/autofill/core/browser/autofill_driver.h
index 933ef689b3f80fd0a5d7d523416c76f6a73155a1..ddcef322d8c6f1b7ac09a0184e8fcfb655dda18d 100644
--- a/components/autofill/core/browser/autofill_driver.h
+++ b/components/autofill/core/browser/autofill_driver.h
@@ -82,7 +82,13 @@ class AutofillDriver {
virtual void RendererShouldClearPreviewedForm() = 0;
// Tells the renderer to set the node text.
- virtual void RendererShouldSetNodeText(const base::string16& value) = 0;
+ virtual void RendererShouldFillFieldWithValue(
+ const base::string16& value) = 0;
+
+ // Tells the renderer to preview the node with suggested text.
+ virtual void RendererShouldPreviewFieldWithValue(
+ const base::string16& value) = 0;
+
};
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698