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

Unified Diff: components/autofill/content/renderer/form_cache.h

Issue 204343004: Add supports that allow Autofill to be initiated from textarea field (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Correct the returned value expectations for OnSuggestionReturned() 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/content/renderer/form_cache.h
diff --git a/components/autofill/content/renderer/form_cache.h b/components/autofill/content/renderer/form_cache.h
index 3cb2525cbd5d2802580782956f7b876565a3c677..1f97d073137874e028a4a6e7b00a99eaede33a75 100644
--- a/components/autofill/content/renderer/form_cache.h
+++ b/components/autofill/content/renderer/form_cache.h
@@ -13,6 +13,7 @@
namespace blink {
class WebDocument;
+class WebFormControlElement;
class WebFormElement;
class WebFrame;
class WebInputElement;
@@ -50,7 +51,7 @@ class FormCache {
// Clears the values of all input elements in the form that contains
// |element|. Returns false if the form is not found.
- bool ClearFormWithElement(const blink::WebInputElement& element);
+ bool ClearFormWithElement(const blink::WebFormControlElement& element);
// For each field in the |form|, sets the field's placeholder text to the
// field's overall predicted type. Also sets the title to include the field's
« no previous file with comments | « components/autofill/content/renderer/form_autofill_util.cc ('k') | components/autofill/content/renderer/form_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698