| Index: remoting/webapp/crd/js/client_session.js
|
| diff --git a/remoting/webapp/crd/js/client_session.js b/remoting/webapp/crd/js/client_session.js
|
| index 0bb20cb674c12accc9598674044652370a83e10d..943b7a18997164fea62f1f54b87b6f0152351ce4 100644
|
| --- a/remoting/webapp/crd/js/client_session.js
|
| +++ b/remoting/webapp/crd/js/client_session.js
|
| @@ -207,6 +207,11 @@ remoting.ClientSession.Capability = {
|
| // <1000 users on M-29 or below. Remove this and the capability on the host.
|
| RATE_LIMIT_RESIZE_REQUESTS: 'rateLimitResizeRequests',
|
|
|
| + // Indicates native touch input support. If the host does not support
|
| + // touch then the client will let Chrome synthesize mouse events from touch
|
| + // input, for compatibility with non-touch-aware systems.
|
| + TOUCH_EVENTS: 'touchEvents',
|
| +
|
| // Indicates that host/client supports Google Drive integration, and that the
|
| // client should send to the host the OAuth tokens to be used by Google Drive
|
| // on the host.
|
| @@ -465,6 +470,9 @@ remoting.ClientSession.prototype.onSetCapabilities = function(capabilities) {
|
| if (this.hasCapability(remoting.ClientSession.Capability.GOOGLE_DRIVE)) {
|
| this.sendGoogleDriveAccessToken_();
|
| }
|
| + if (this.hasCapability(remoting.ClientSession.Capability.TOUCH_EVENTS)) {
|
| + this.plugin_.enableTouchEvents(true);
|
| + }
|
| };
|
|
|
| /**
|
| @@ -602,4 +610,3 @@ remoting.ClientSession.prototype.sendGoogleDriveAccessToken_ = function() {
|
| window.setTimeout(this.sendGoogleDriveAccessToken_.bind(this),
|
| remoting.ACCESS_TOKEN_RESEND_INTERVAL_MS);
|
| };
|
| -
|
|
|