summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/WebViewClient.java
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2010-03-26 09:10:58 +0000
committerBen Murdoch <benm@google.com>2010-04-01 16:19:39 +0100
commit0348440e4ad665f9fa7ed73a5c6b533e183a9e1f (patch)
tree9f231ac0e8717f73b0611c12db27bca1d6a68d6f /core/java/android/webkit/WebViewClient.java
parent3fe1708d9d204fa63e8abe6e434378d89e963752 (diff)
Cherry pick from master.
This change forwards to the WebView HTTP authentication credentials that are supplied to an XHR from JavaScript. This allows the WebView to store these credentials for use with later requests. This is a re-working of https://android-git.corp.google.com/g/46430 Bug: 2544330 Change-Id: I3f04433b00233d7b7bf4f7e3471d8d15d8817f93
Diffstat (limited to 'core/java/android/webkit/WebViewClient.java')
-rw-r--r--core/java/android/webkit/WebViewClient.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/core/java/android/webkit/WebViewClient.java b/core/java/android/webkit/WebViewClient.java
index 4ac660e68513..02c721009b10 100644
--- a/core/java/android/webkit/WebViewClient.java
+++ b/core/java/android/webkit/WebViewClient.java
@@ -197,22 +197,6 @@ public class WebViewClient {
}
/**
- * Notify the host application that authentication credentials have been
- * supplied from Script.
- * The default behavior is to do nothing.
- * @hide Pending API council review
- *
- * @param view The WebView that is initiating the callback.
- * @param host The host requiring authentication.
- * @param realm A description to help store user credentials for future
- * @param username The username
- * @param password The password
- */
- public void onReceivedHttpAuthCredentials(WebView view, String host,
- String realm, String username, String password) {
- }
-
- /**
* Give the host application a chance to handle the key event synchronously.
* e.g. menu shortcut key events need to be filtered this way. If return
* true, WebView will not handle the key event. If return false, WebView