Index: chrome/renderer/autofill/autofill_agent.h |
diff --git a/chrome/renderer/autofill/autofill_agent.h b/chrome/renderer/autofill/autofill_agent.h |
index 85ea7e64dc98853d67c6c9ee09c4549194d63cd1..57dc7467c0f4c1979fd3cad6d86eab3eff4f4219 100644 |
--- a/chrome/renderer/autofill/autofill_agent.h |
+++ b/chrome/renderer/autofill/autofill_agent.h |
@@ -105,6 +105,11 @@ class AutofillAgent : public content::RenderViewObserver, |
// For external Autofill selection. |
void OnSelectAutofillSuggestionAtIndex(int listIndex); |
+ void OnSetAutofillActionFill(); |
+ void OnClearForm(); |
+ void OnSetAutofillActionPreview(); |
+ void OnClearPreviewedForm(); |
+ void OnSetNodeText(string16 value); |
// Called in a posted task by textFieldDidChange() to work-around a WebKit bug |
// http://bugs.webkit.org/show_bug.cgi?id=16976 |
@@ -146,6 +151,9 @@ class AutofillAgent : public content::RenderViewObserver, |
webkit::forms::FormData* form, |
webkit::forms::FormField* field) WARN_UNUSED_RESULT; |
+ // Set |node| to display the given |value|. |
+ void SetNodeText(WebKit::WebInputElement node, string16 value); |
Ilya Sherman
2012/02/08 17:01:57
nit: Might as well pass the |node| and the |value|
csharp
2012/02/08 19:05:43
changed value, but we modify node so it can't chan
Ilya Sherman
2012/02/08 19:23:55
In that case we should pass it as a pointer, and r
csharp
2012/02/08 20:11:40
Done.
|
+ |
FormCache form_cache_; |
PasswordAutofillManager* password_autofill_manager_; // WEAK reference. |