summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/WebResourceRequest.java
Commit message (Collapse)AuthorAgeFilesLines
* Clarify WebResourceRequest.isForMainFrame docs.Torne (Richard Coles)2020-02-071-3/+3
| | | | | | | | | Make it more explicit that isForMainFrame() returns true only for the actual main frame document, and not for any subresources, even if they are subresources of the main frame. Test: make ds-docs Change-Id: I942cbe6a8f50d2f3af00b99b14a8503c8c4556de
* WebView: wrap Java literals with {@code}Nate Fischer2017-09-051-3/+4
| | | | | | | | | | | | | | | | Docs change only. This wraps some Java literals (true, false, null) with {@code} blocks, as per Android API guidelines. This also addresses other presubmit errors: * fix lines that have become too long * fix broken import order and unused imports Bug: 65213517 Test: make docs (and manually verify things look better) Change-Id: Idc7fe28d40bea7bd1edcad539b75fa9c689b8d46
* Small update to WebResourceRequest.isRedirectMikhail Naganov2015-11-021-2/+2
| | | | | | | Specify that 'isRedirect' is only true for server-side redirects. Bug: 22346196 Change-Id: I9a8c31476c796265f554327dfff46778c5f84399
* Add new version of WebViewClient.shouldOverrideUrlLoading callbackMikhail Naganov2015-10-281-0/+7
| | | | | | | | | 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
* Remove unused imports in frameworks/base.John Spurlock2015-02-281-1/+0
| | | | Change-Id: I031443de83f93eb57a98863001826671b18f3b17
* Update docs for WebResourceRequest.hasUserGesture.Marcin Kosiba2015-01-271-0/+2
| | | | | | | | | WebResourceRequest.hasUserGesture will be false for new windows for example. Update docs to say we sometimes say false even though it 'should' be true. BUG: 17963383 Change-Id: I877fc7179443647ea6c9dcf8607242874bbe9e09
* Remove an @removed member of andorid.webkit.WebResourceResponse.Marcin Kosiba2014-09-121-10/+1
| | | | | BUG: 17253647 Change-Id: I02f4f0600a09ceb3b68ba2698b80e413e7511663
* Rename WebResourceRequest.hasUserGestureInsecure to hasGesture.Marcin Kosiba2014-09-051-1/+6
| | | | | | This is in response to API council feedback. BUG: 17253647 Change-Id: I6da2aa2510a73276fcdbad9219adfeaaed41d3ba
* Add more params to WebViewClient.shouldInterceptRequest.Marcin Kosiba2014-07-151-0/+68
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