diff options
author | Ben Murdoch <benm@google.com> | 2013-07-17 16:25:07 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2013-07-19 10:24:05 +0100 |
commit | a5cdd51cb7dc3acd608b67186bdef1d2a12bdbe7 (patch) | |
tree | 88d70ffc1be61452d20ba2943e91500186196764 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | c0743ec46658027ce4bc10e8ab2e1152531c52aa (diff) |
Add WebView.evaluateJavaScript(String, ValueCallback) API.
This API is intended to replace the "WebView.loadUrl("javascript:...")
pattern that is the current mechanism for executing JavaScript in the
context of the current page displayed in the WebView.
The new API is more convenient - it doesn't trigger the normal URL
loading path - and so does not have side effects such as hiding
the keyboard - and allows the caller to specify a callback that will
be invoked once the script execution is complete.
BUG=9814043
Change-Id: I3f27e8ff5371077d9265430090d61381a3a86e76
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions