Hook up ContentViewCore.add/removeJavascriptInterface()
The entry point to the Java Bridge is JavaBridgeDispatcherHostManager. This is not part of the content API so is available only on WebContentsImpl, not WebContents. We therefore modify ContentViewCoreImpl to store and use WebContentsImpl*, rather than WebContents*. It's safe for ContentViewCoreImpl to cast the WebContents* it receives in its constructor to WebContentsImpl* because WebContentsImpl is the only concrete implementation of the WebContents interface. BUG=110637 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=148945 Review URL: https://chromiumcodereview.appspot.com/9192008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148951 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment