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

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: 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_driver.h
diff --git a/components/autofill/core/browser/autofill_driver.h b/components/autofill/core/browser/autofill_driver.h
index e9981706c8ab9b6b35ca0a32b8ef009f726fd866..629d85f8a5bbf8c51f30935df4a2d116e1574eba 100644
--- a/components/autofill/core/browser/autofill_driver.h
+++ b/components/autofill/core/browser/autofill_driver.h
@@ -80,7 +80,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
« no previous file with comments | « components/autofill/content/renderer/autofill_agent.cc ('k') | components/autofill/core/browser/autofill_external_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698