[Webapp Refactor] Removes the client plugin on Disconnect.
commit018be1d6b0eef9af943eb87217b2912f00c05c21
authorkelvinp <kelvinp@chromium.org>
Wed, 18 Mar 2015 23:31:00 +0000 (18 16:31 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 18 Mar 2015 23:31:44 +0000 (18 23:31 +0000)
treec3c74d9836d90122bc98cf013352f0b76c511496
parent875b896a3256c5b86c8725e81489e99ea6c2b4c9
[Webapp Refactor] Removes the client plugin on Disconnect.

The existing implementation does not removes the clientPlugin
from the DOM upon a disconnect. This CL fixes it.

It also moves the disconnect logic from clientSession.dispose()
to clientSession.disconnect() as the name suggests.

BUG=465878

Review URL: https://codereview.chromium.org/1012073006

Cr-Commit-Position: refs/heads/master@{#321233}
remoting/webapp/base/js/application.js
remoting/webapp/crd/js/client_session.js
remoting/webapp/crd/js/session_connector.js
remoting/webapp/crd/js/session_connector_impl.js