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

Unified Diff: chrome/renderer/autofill/autofill_agent.h

Issue 9235072: Adding Mouse Support for new GTK Autofill (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Responding to comments Created 8 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: 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.

Powered by Google App Engine
This is Rietveld 408576698