| OLD | NEW | 
|    1 // Copyright 2014 The Chromium Authors. All rights reserved. |    1 // Copyright 2014 The Chromium Authors. All rights reserved. | 
|    2 // Use of this source code is governed by a BSD-style license that can be |    2 // Use of this source code is governed by a BSD-style license that can be | 
|    3 // found in the LICENSE file. |    3 // found in the LICENSE file. | 
|    4  |    4  | 
|    5 /** |    5 /** | 
|    6  * @fileoverview |    6  * @fileoverview | 
|    7  * Interface abstracting the SessionConnector functionality. |    7  * Interface abstracting the SessionConnector functionality. | 
|    8  */ |    8  */ | 
|    9  |    9  | 
|   10 'use strict'; |   10 'use strict'; | 
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  122  |  122  | 
|  123 /** |  123 /** | 
|  124  * @param {HTMLElement} clientContainer Container element for the client view. |  124  * @param {HTMLElement} clientContainer Container element for the client view. | 
|  125  * @param {function(remoting.ConnectionInfo):void} onConnected Callback on |  125  * @param {function(remoting.ConnectionInfo):void} onConnected Callback on | 
|  126  *     success. |  126  *     success. | 
|  127  * @param {function(!remoting.Error):void} onError Callback on error. |  127  * @param {function(!remoting.Error):void} onError Callback on error. | 
|  128  * @param {function(!remoting.Error):void} onConnectionFailed Callback for when |  128  * @param {function(!remoting.Error):void} onConnectionFailed Callback for when | 
|  129  *     the connection fails. |  129  *     the connection fails. | 
|  130  * @param {Array<string>} requiredCapabilities Connector capabilities |  130  * @param {Array<string>} requiredCapabilities Connector capabilities | 
|  131  *     required by this application. |  131  *     required by this application. | 
|  132  * @param {string} defaultRemapKeys The default set of key mappings to use |  | 
|  133  *     in the client session. |  | 
|  134  * @return {remoting.SessionConnector} |  132  * @return {remoting.SessionConnector} | 
|  135  */ |  133  */ | 
|  136 remoting.SessionConnectorFactory.prototype.createConnector = |  134 remoting.SessionConnectorFactory.prototype.createConnector = | 
|  137     function(clientContainer, onConnected, onError, |  135     function(clientContainer, onConnected, onError, | 
|  138              onConnectionFailed, requiredCapabilities, defaultRemapKeys) {}; |  136              onConnectionFailed, requiredCapabilities) {}; | 
|  139  |  137  | 
|  140 /** |  138 /** | 
|  141  * @type {remoting.SessionConnectorFactory} |  139  * @type {remoting.SessionConnectorFactory} | 
|  142  */ |  140  */ | 
|  143 remoting.SessionConnector.factory = null; |  141 remoting.SessionConnector.factory = null; | 
| OLD | NEW |