History log of /frameworks/base/core/java/android/webkit/WebViewClient.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1ad3955a6008f5f442fa5eb0adf7c4e6ba2f17cd 27-Apr-2016 Michael Wright <michaelwr@google.com> Remove onUhandledInputEvent API.

This callback was never used by WebView and anyone that overrides it
is going to just be broken since we never actually call into it from
the method that WebView does call. Furthermore, the WebView team has
decided that the API has too many complications to ever implement,
the most notable of which is that MotionEvents tend to come in
streams that would need to be buffered in order to detect the event
before it can be determined whether they were handled or not which
means that any uses of the API are inevitably going to be janky
experiences.

Bug: 14279909
Change-Id: I068601ce947bccacabfe55b86b06005449b65bcf
/frameworks/base/core/java/android/webkit/WebViewClient.java
977d943494d4f1bfbc99fa766b33ab67211dba3c 16-Feb-2016 Selim Gurun <sgurun@google.com> Better document the ignore behavior for client cert api

Bug: 26361557

When the embedded app requests a ignore of a client cert request,
webview does not cache the response of the app. However, underlying
layers could. Clarify the document.

Change-Id: I43e6a4c91727f71c88ca69e1334f64de9f66905a
/frameworks/base/core/java/android/webkit/WebViewClient.java
b851929c329b90295718e592d86969860d9b920b 26-Oct-2015 Mikhail Naganov <mnaganov@google.com> Add new version of WebViewClient.shouldOverrideUrlLoading callback

The new version provides more information about the origin of
the load, which helps making more secure decision on how to proceed
with it.

Bug: 22346196
Change-Id: I27f591bf5e846bde14335a2c929758a2b48d0763
/frameworks/base/core/java/android/webkit/WebViewClient.java
c279a835d5dcb16ac5b4b5311940de5b4fbd72aa 25-Jun-2015 Narayan Kamath <narayan@google.com> am 37c68894: am a78c0e0b: Merge "Fixed Javadoc typos"

* commit '37c688948d4464d636cd64c537b98697cb4b795d':
Fixed Javadoc typos
802aa0f8a22524d8b338d8279c1e121f21b9cdc2 12-May-2015 Philipp Hasper <vcs@hasper.info> Fixed Javadoc typos

Simple single character typos

Change-Id: I17660dbb3b7ee6597637e8d76770f434ebf202ea
/frameworks/base/core/java/android/webkit/WebViewClient.java
a679ac59a165fc17fdac21e95183972f73973c31 19-Jun-2015 Selim Gurun <sgurun@google.com> Clarify handling client certificates

Bug: 21910771

Clarify handling client certificates when using a webview. This is a
documentation change only.

Change-Id: Ida78bd89aa8867c99b4b9e4433e342767e9bac0d
/frameworks/base/core/java/android/webkit/WebViewClient.java
98fe09cba08f39906d632119352b14d0339fff01 22-May-2015 Selim Gurun <sgurun@google.com> Clean remaining API related issues.

Bug:21063767
Change-Id: Ifb6936699367b4cc1641b74c890856c0b51978d2
/frameworks/base/core/java/android/webkit/WebViewClient.java
8d4f07f8d377fc1888879d3ef84c084d3bc5fb5d 13-May-2015 Mikhail Naganov <mnaganov@google.com> Update the new error reporting API in android.webkit

- minor changes in WebResourceError;
- prepare to remove WebResourceResponseBase;
- add immutable mode to WebResourceResponse.

Bug: 21063767

Change-Id: Iaf5f92e3850732c7a888453468e108809b3b782a
/frameworks/base/core/java/android/webkit/WebViewClient.java
b3656049777a3cb9257357ff51c78d7b170938f0 13-May-2015 Tobias Sargeant <tobiasjs@google.com> Improve documentation and rename insertVisualStateCallback to postVisualStateCallback.

Bug: 21043955
Change-Id: I077cad68fb519581387d1b474f27d43222f68e3b
/frameworks/base/core/java/android/webkit/WebViewClient.java
fc90c05649a7a19e330c386cba35a4d2c35f8349 31-Mar-2015 Selim Gurun <sgurun@google.com> Remove unnecessary code

Bug: 19313118

As part of the "better error reporting for Webview" work, a new public
API was defined for MNC release to report blocked loads. However,
we decided to use WebChromeClient.onConsoleMessage for this case.
Removing the API.

Change-Id: I1a599385f1ecdd10ba5a774b0b2a6b9f4bdcbd95
/frameworks/base/core/java/android/webkit/WebViewClient.java
a8352f40316fb265c74d42e908eb30284259b47d 03-Mar-2015 Tobias Sargeant <tobiasjs@google.com> Add visual state callbacks to the WebView.

Registering a visual state callback allows the caller to be notified
after the commit, activation and swap of the current (or future) state
of the DOM tree has occurred. At the point at which the callback is
called, the caller can be sure that any DOM updates made prior to
the registration are ready to be drawn in the next WebView#onDraw.

We also provide a convenience callback related to the visual state:

* WebViewClient.onPageCommitVisible; called at the earliest point at
which the next draw will not render contents from the previously
loaded page.

Bug: 6375170
Change-Id: I17e706b6e6ba4a8c28c835552687c9f7a4623024
/frameworks/base/core/java/android/webkit/WebViewClient.java
25e89545736d62c59d19dd9b9587f7b0cbbee068 09-Feb-2015 Mikhail Naganov <mnaganov@google.com> Provide better error reporting for WebView

Add new callbacks into WebViewClient that will provide notifications
about subresource loading errors and HTTP errors received from servers.

Bug: 19313118
Change-Id: Idb47f53ef7e72cb95f3e9b89d1e238d69e896b8b
/frameworks/base/core/java/android/webkit/WebViewClient.java
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac 28-Feb-2015 John Spurlock <jspurlock@google.com> Remove unused imports in frameworks/base.

Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/core/java/android/webkit/WebViewClient.java
16687cc956af678032f03e1c9ec5ee51736bc763 27-Jan-2015 Marcin Kosiba <mkosiba@google.com> Update docs to say onPageStarted is not called for fragment navigations.

BUG: 5014122
Change-Id: I264f99cb01496895f5ed77bfb3a5a45329bca53e
/frameworks/base/core/java/android/webkit/WebViewClient.java
d72e7ba1c04b2f7b128c5710607a72867b73bf1c 15-Jul-2014 Marcin Kosiba <mkosiba@google.com> Add more params to WebViewClient.shouldInterceptRequest.

This changes shouldInterceptRequest to take an object containing the
following new parameters: isMainFrame, hasUserGesture, method, headers.
This also lets the embedder specify the following additional properties
of the response: status code, response phrase, headers.

BUG: 7589347
Change-Id: Id922c5e7023eb067db871e6f782f599492a2428f
/frameworks/base/core/java/android/webkit/WebViewClient.java
f271c8ecd02c415858e0497dc586d99d9dd96de5 02-May-2014 Selim Gurun <sgurun@google.com> Unhide Client Cert APIS

Bug:12983007
Change-Id: I9ae23be110ff036ce64271841e1ba69122ce6caa
/frameworks/base/core/java/android/webkit/WebViewClient.java
1feb11f511af25aa5d62d073d970071d16985661 02-May-2014 Michael Wright <michaelwr@google.com> Fix WebViewClient docs

Change-Id: I960701a49be66fccfd03a8876779a5f7917642ea
/frameworks/base/core/java/android/webkit/WebViewClient.java
e02bfb6fbdaee62694c589758d6ac5f52addd90c 01-May-2014 Michael Wright <michaelwr@google.com> Merge "Add unhandledInputEvent API to ViewRoot"
899d70568b565280dd33fa8892e25c5511f95769 24-Apr-2014 Michael Wright <michaelwr@google.com> Add unhandledInputEvent API to ViewRoot

Update WebViewClient to use it instead, and add a new public API,
onUnhandledInputEvent. Note that WebViewClients won't receive this
call back until WebView is updated to use it.

Bug: 14279909

Change-Id: Ied49791b469849f5c4cf4471f2b26c56b03f4961
/frameworks/base/core/java/android/webkit/WebViewClient.java
c955677c1b2e03ad048e034bd033dd66dfd72ef3 25-Apr-2014 Colin Cross <ccross@android.com> fix build

When commit 4e48f40b0384110082bec52caf38d2d47ce505f5 merged from
AOSP it added a hunk that was already present. Remove the second
copy.

Change-Id: I48b30fd5fe21d6668cc904744fed7d5044fae91d
/frameworks/base/core/java/android/webkit/WebViewClient.java
da5c532573bcdd1698822384e9e20d7e64195987 25-Apr-2014 Selim Gurun <sgurun@android.com> am 7466e3bb: am e3fc3073: am 8c2d70f5: Merge "Add a stub for forgotten callback to fix master-gpl."

* commit '7466e3bbbd13b563e1a5adcc537ea0f132045038':
Add a stub for forgotten callback to fix master-gpl.
4e48f40b0384110082bec52caf38d2d47ce505f5 25-Apr-2014 Selim Gurun <sgurun@android.com> Add a stub for forgotten callback to fix master-gpl.

Change-Id: I375dba89403d09dc39f696de04e0811633ecc803
/frameworks/base/core/java/android/webkit/WebViewClient.java
b6aa97e0a0cd13846c148716fc0c7947422cea04 26-Mar-2014 Selim Gurun <sgurun@google.com> Add ClientCert support

Bug: 12983007

This is to add APIs for client certificates. Keep the APIs hidden
until finalizing the design.

Change-Id: I8a1e755e2c509cf821dff7c7df0ddd5270a5f79b
/frameworks/base/core/java/android/webkit/WebViewClient.java
47aaba3faf5c950e1d7b2c613fe8e2c73c6748a7 01-Dec-2012 Jonathan Dixon <joth@google.com> Fix broken more JavaDoc links

Change-Id: Ic1c74c739a668871e37b7b5868f1bc9ed3a65828
/frameworks/base/core/java/android/webkit/WebViewClient.java
15cb82549375d89feb1cf0f2825e3e31a94d0c38 13-Nov-2012 Martin Kosiba <mkosiba@google.com> Update WebViewClient.shouldInterceptRequest JavaDoc.

This changes the wording to say 'not UI thread' instead of 'network
thread'.

Change-Id: I9bc94830297b88639e7749392e3c2082b087f4ce
/frameworks/base/core/java/android/webkit/WebViewClient.java
881c49c99be006f90a51a444db6b96289947e73a 13-Nov-2012 Martin Kosiba <mkosiba@google.com> Update WebViewClient.shouldOverrideUrlLoading JavaDoc.

Add a comment to say that the method will not be called for POST requests.

Change-Id: If767093846584df834f9d258241306722b1abd99
/frameworks/base/core/java/android/webkit/WebViewClient.java
46ce1db6ff3290b82b12f11715fbe82734a44322 17-Jul-2012 Steve Block <steveblock@google.com> Improve JavaDoc for HTTP basic authentication methods

Bug: 5461416

Change-Id: Ie3bfbf6acde34ea184aa8c8b1d3841e2a2aa8a22
/frameworks/base/core/java/android/webkit/WebViewClient.java
73eeb7b5ed5f88750156b787c665f7d3769fc56a 08-Jun-2012 Jonathan Dixon <joth@google.com> Extract WebView Classic details from API classes.

Last remaining bits:
- push JNUUtil.setContext call down into WebViewDatabaseClassic
- remove references to hidden ClientCertRequestHandler from the public API classes.

Change-Id: I9605dc2493b73fe8f22c7bb38c73d36632e0c7fa
/frameworks/base/core/java/android/webkit/WebViewClient.java
d6b1098e1f46530528dfea415655468ec994bbb6 20-Apr-2012 John Reck <jreck@google.com> Support fallback action if unhandled key event

Bug: 6023055

Change-Id: Ib802c4b9d1b606f9ea7a5081e30c50b5bd78e30c
/frameworks/base/core/java/android/webkit/WebViewClient.java
f76a50ce8fdc6aea22cabc77b2977a1a15a79630 09-Mar-2012 Ken Wakasa <kwakasa@google.com> Fix obvious typos under frameworks/base/core

Change-Id: Ia5fc3db1bb51824e7523885553be926bcc42d736
/frameworks/base/core/java/android/webkit/WebViewClient.java
fe33a75cc8883dc5d50dd5a2fb0eac702f2a6992 04-Oct-2011 Steve Block <steveblock@google.com> Add WebViewClient.onProceededAfterSslError()

This is used to notify the host application that an SSL error occurred while
loading a resource, but the WebView but chose to proceed anyway based on a
decision retained from a previous response to onReceivedSslError().

Bug: 5403366
Change-Id: I51a25b93d7824b7eb7b6d5a961cba948e37c85db
/frameworks/base/core/java/android/webkit/WebViewClient.java
a14775949c97a616196f5293209b092ee3d4e9a9 11-Feb-2011 Brian Carlstrom <bdc@google.com> Implement android.webkit.BrowserFrame.requestClientCert

Following the example of reportSslCertError, implement requestClientCert

ERROR CASE CLIENT CERT CASE
<... From external/webkit ...> <... From external/webkit ...>
android.webkit.BrowserFrame.reportSslCertError android.webkit.BrowserFrame.requestClientCert
CallbackProxy.onReceivedSslError CallbackProxy.onReceivedClientCertRequest
WebViewClient.onReceivedSslError WebViewClient.onReceivedClientCertRequest
<... See packages/apps/Browser ...> <... See packages/apps/Browser ...>
SslErrorHandler.proceed (with SslCertLookupTable) ClientCertRequestHandler.proceed (with SslClientCertLookupTable)
android.webkit.BrowserFrame.nativeSslCertErrorProceed android.webkit.BrowserFrame.nativeSslClientCert
<... To external/webkit ...> <... To external/webkit ...>

Change-Id: I2ba6007ad9b2ee520a0a6b17f3a767679b1664de
/frameworks/base/core/java/android/webkit/WebViewClient.java
85a50ff48b2331913cc87f483eafba9f231c8c8c 25-Jan-2011 Patrick Scott <phanna@android.com> Pass the auto login header information to the app.

Add a new callback to handle auto login requests.

Bug: 3367381
Change-Id: I2ee8038cdf8a4ff9d1d3de0c871a0c60f1769655
/frameworks/base/core/java/android/webkit/WebViewClient.java
c12544a201667383bc3dfb4bd3ad62d98cacd24f 11-Nov-2010 Patrick Scott <phanna@android.com> Offer a callback to intercept url requests.

The new callback allows applications to return a response for a particular url.
Deprecate onLoadResource in favor of the new api. onLoadResource is not
currently being used by the new network stack and applications can post a
message from shouldInterceptRequest to handle onLoadResource.

Bug: 2905943
Change-Id: Icf48ab3110d85d76112b3c3b4a1a8c8a333b82f0
/frameworks/base/core/java/android/webkit/WebViewClient.java
b5503c168a49f0f2b1372678f87d874e7d82aaad 31-Aug-2010 Kristian Monsen <kristianm@google.com> Fix warnings in docs generation.

This should fix the droiddoc warning related to the browser. Will make it a bit easier to pick up errors.

Change-Id: I8dc276bbe3d15f224eba7e4e97046024173dcecc
/frameworks/base/core/java/android/webkit/WebViewClient.java
0348440e4ad665f9fa7ed73a5c6b533e183a9e1f 26-Mar-2010 Steve Block <steveblock@google.com> 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
/frameworks/base/core/java/android/webkit/WebViewClient.java
c6a90a59b342114d760d899e09d8def672b49ca8 25-Mar-2010 Steve Block <steveblock@google.com> Provides ability to store HTTP authentication credentials supplied to an XHR from JavaScript

This change forwards to the WebViewClient HTTP authentication credentials that
are supplied to an XHR from JavaScript. This allows the client to store these
credentials for use with later requests.

Currently, the browser only stores credentials that have been entered manually
by the user through the authentication dialog.

Bug: 2544330
Change-Id: I913e35d80b7ad41ff75586092408b86ea9f543d8
/frameworks/base/core/java/android/webkit/WebViewClient.java
6a5b0ecae5dc89a951e1e204bc007f50f944c5d1 08-Jan-2010 Patrick Scott <phanna@android.com> Deprecate onTooManyRedirects.

The method was added a long time ago but has never been called. Rather than
spend time implementing and testing this feature, deprecate the function.

Bug: 2257857
/frameworks/base/core/java/android/webkit/WebViewClient.java
ddcea3d21645bb3037703c84807dae077aae62ce 04-Dec-2009 Grace Kloba <klobag@google.com> Expose onReceivedSslError() so that the WebView client
can accept the error and continue.

Fix http://b/issue?id=2299152
/frameworks/base/core/java/android/webkit/WebViewClient.java
447811c64f60d29a5c0bf2d7ba94b91c68fe2612 01-Sep-2009 Patrick Scott <phanna@android.com> Fix a docs comment to match the parameter name.
/frameworks/base/core/java/android/webkit/WebViewClient.java
05c9ed9ce1d920c322ee1431cfed64541f0acf3c 25-Aug-2009 Patrick Scott <phanna@android.com> Fix the documentation for onReceivedError.

This change adds the EventHandler error codes to WebViewClient for the public
api. Previously, the api was ambiguous about the value of the errorCode
parameter and falsely documented that the values are HTTP status codes.
/frameworks/base/core/java/android/webkit/WebViewClient.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/webkit/WebViewClient.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/webkit/WebViewClient.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/webkit/WebViewClient.java