summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/WebMessage.java
Commit message (Collapse)AuthorAgeFilesLines
* WebView: add @Nullable and @NonNull annotationsNate Fischer2017-09-211-0/+3
| | | | | | | | | | | | | | | | | This adds @Nullable and @NonNull annotations where the docs previously stated this. This change should be safe, since we already disallowed null values for the @NonNull parameters via documentation. I verified that documentation changes for APIs which previously did not mention null-ness in @param or @return Javadocs (if the API already mentioned it in these spots, then DroidDoc prefers the hand-written description). This also fixes various lint errors. Bug: 65465498 Test: make update-api and manually verify docs Change-Id: I4751508d0e72be8ddfc3d6b601db8c307c9df60e
* WebView: wrap Java literals with {@code}Nate Fischer2017-09-051-1/+1
| | | | | | | | | | | | | | | | 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
* Implement PostMessage API for WebviewSelim Gurun2015-03-111-0/+62
| | | | | | | | | | | Bug: 10237116 This CL implements the postmessage API for webview. It provides a way for java applications to post messages to JS frames and establish message channels, and then do full-duplex communication after that. Change-Id: Idbc2918552a4c9fd28ae1ddf19bd360e71f8a4a2
* Fix build: Revert "Add potential future APIs for postmessage"Ed Heyl2015-03-021-63/+0
| | | | This reverts commit 37bd8907cb94be69c9bd4c308e49c38524e87269.
* Add potential future APIs for postmessageSelim Gurun2015-03-021-0/+63
Bug: 10237116 The APIs are hidden while work is ongoing. Change-Id: I3e2f06d6e41af276171b127f06bdd74924c2e74c