[Chromoting] Create core Application interface for CRD.
commitccb1b8637c2c16ea42f347f21e61d687cc984844
authorgarykac <garykac@chromium.org>
Sat, 6 Dec 2014 03:46:44 +0000 (5 19:46 -0800)
committerCommit bot <commit-bot@chromium.org>
Sat, 6 Dec 2014 03:47:12 +0000 (6 03:47 +0000)
tree8da4871df710093fafcd3b694776138a40fd55b0
parent50b3fb8dc460461cee676ddf9923c5a1d499f4fc
[Chromoting] Create core Application interface for CRD.

This adds the a base Application class and defines a few methods
(onConnected, onDisconnected, onError, ...) that remove CRD-specific code
from the base connection code and move it into a CRD-specific file.
app-specific functionality.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#307153}
remoting/remoting_webapp_files.gypi
remoting/webapp/base/js/application.js [new file with mode: 0644]
remoting/webapp/crd/js/client_screen.js
remoting/webapp/crd/js/client_session.js
remoting/webapp/crd/js/crd_main.js
remoting/webapp/crd/js/desktop_remoting.js [new file with mode: 0644]
remoting/webapp/crd/js/event_handlers.js
remoting/webapp/crd/js/session_connector.js
remoting/webapp/crd/js/session_connector_impl.js