summaryrefslogtreecommitdiffstats
path: root/core/java/android/webkit/WebChromeClient.java
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2010-11-16 11:50:39 +0000
committerBen Murdoch <benm@google.com>2010-11-23 12:18:02 +0000
commit57914381a80c9f19cf5227b4af9e822fa0c74ea9 (patch)
tree165cab6c9c3ab8e6f68f109ce774249ae6ddc791 /core/java/android/webkit/WebChromeClient.java
parent1c24e957ad8624753f9d89b578d9d34d7ac5f80b (diff)
downloadframeworks_base-57914381a80c9f19cf5227b4af9e822fa0c74ea9.zip
frameworks_base-57914381a80c9f19cf5227b4af9e822fa0c74ea9.tar.gz
frameworks_base-57914381a80c9f19cf5227b4af9e822fa0c74ea9.tar.bz2
Offer the user the option to configure an AutoFill profile.
When the user selects a form field that is part of a form that can be autofilled, inform the embedder that this is the case to give them the opportunity to configure a profile if they the user has not done so already. A Message is also provided to the embedder that when sent will trigger the form to be filled with the profile that the embedder set up. Change-Id: Ica995e5b1ed92a3ec3e356401b261740d9f90e57
Diffstat (limited to 'core/java/android/webkit/WebChromeClient.java')
-rw-r--r--core/java/android/webkit/WebChromeClient.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/webkit/WebChromeClient.java b/core/java/android/webkit/WebChromeClient.java
index b2ba7e2..755366c 100644
--- a/core/java/android/webkit/WebChromeClient.java
+++ b/core/java/android/webkit/WebChromeClient.java
@@ -330,4 +330,14 @@ public class WebChromeClient {
*/
public void setInstallableWebApp() { }
+ /**
+ * Tell the client that the page being viewed has an autofillable
+ * form and the user would like to set a profile up.
+ * @param msg A Message to send once the user has successfully
+ * set up a profile and to inform the WebTextView it should
+ * now autofill using that new profile.
+ * @hide
+ */
+ public void setupAutoFill(Message msg) { }
+
}