[chromecast] Add ExecuteJavaScript method for CastWebContents
Adds a ExecuteJavaScript method for CastWebContents to run script on the main frame's context. The method would accept string script and a OnceCallback that is used to receive a result later. Bug: Internal b/150822089 Test: cast_web_contents_browsertest Change-Id: I15e43f62036907e667278f954d06b0bb035c59cc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2123639 Commit-Queue: Jiawei Li <lijiawei@chromium.org> Reviewed-by:Sean Topping <seantopping@chromium.org> Reviewed-by:
Yuchen Liu <yucliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#754163}
Showing
Please register or sign in to comment