summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/WebViewClient.java
diff options
context:
space:
mode:
authorPatrick Scott <phanna@android.com>2011-01-25 14:42:12 -0500
committerPatrick Scott <phanna@android.com>2011-03-08 08:35:54 -0500
commit85a50ff48b2331913cc87f483eafba9f231c8c8c (patch)
treea75bba4c918282176649159c3aac039e3990582f /core/java/android/webkit/WebViewClient.java
parent102930a0deaf8280a65321de0d6c120a638da9e2 (diff)
Pass the auto login header information to the app.
Add a new callback to handle auto login requests. Bug: 3367381 Change-Id: I2ee8038cdf8a4ff9d1d3de0c871a0c60f1769655
Diffstat (limited to 'core/java/android/webkit/WebViewClient.java')
-rw-r--r--core/java/android/webkit/WebViewClient.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/core/java/android/webkit/WebViewClient.java b/core/java/android/webkit/WebViewClient.java
index db605de6dc77..65026a5d02ac 100644
--- a/core/java/android/webkit/WebViewClient.java
+++ b/core/java/android/webkit/WebViewClient.java
@@ -256,4 +256,18 @@ public class WebViewClient {
*/
public void onScaleChanged(WebView view, float oldScale, float newScale) {
}
+
+ /**
+ * Notify the host application that a request to automatically log in the
+ * user has been processed.
+ * @param view The WebView requesting the login.
+ * @param realm The account realm used to look up accounts.
+ * @param account An optional account. If not null, the account should be
+ * checked against accounts on the device. If it is a valid
+ * account, it should be used to log in the user.
+ * @param args Authenticator specific arguments used to log in the user.
+ */
+ public void onReceivedLoginRequest(WebView view, String realm,
+ String account, String args) {
+ }
}