OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 /** @suppress {duplicate} */ | 5 /** @suppress {duplicate} */ |
6 var remoting = remoting || {}; | 6 var remoting = remoting || {}; |
7 | 7 |
8 /** | 8 /** |
9 * Interface used for ClientPlugin objects. | 9 * Interface used for ClientPlugin objects. |
10 * @interface | 10 * @interface |
(...skipping 13 matching lines...) Expand all Loading... |
24 /** @type {function(string): void} Outgoing signaling message callback. */ | 24 /** @type {function(string): void} Outgoing signaling message callback. */ |
25 remoting.ClientPlugin.prototype.onOutgoingIqHandler; | 25 remoting.ClientPlugin.prototype.onOutgoingIqHandler; |
26 /** @type {function(string): void} Debug messages callback. */ | 26 /** @type {function(string): void} Debug messages callback. */ |
27 remoting.ClientPlugin.prototype.onDebugMessageHandler; | 27 remoting.ClientPlugin.prototype.onDebugMessageHandler; |
28 /** @type {function(number, number): void} State change callback. */ | 28 /** @type {function(number, number): void} State change callback. */ |
29 remoting.ClientPlugin.prototype.onConnectionStatusUpdateHandler; | 29 remoting.ClientPlugin.prototype.onConnectionStatusUpdateHandler; |
30 /** @type {function(boolean): void} Connection ready state callback. */ | 30 /** @type {function(boolean): void} Connection ready state callback. */ |
31 remoting.ClientPlugin.prototype.onConnectionReadyHandler; | 31 remoting.ClientPlugin.prototype.onConnectionReadyHandler; |
32 /** @type {function(): void} Desktop size change callback. */ | 32 /** @type {function(): void} Desktop size change callback. */ |
33 remoting.ClientPlugin.prototype.onDesktopSizeUpdateHandler; | 33 remoting.ClientPlugin.prototype.onDesktopSizeUpdateHandler; |
| 34 /** @type {function(!Array.<string>): void} Capabilities negotiated callback. */ |
| 35 remoting.ClientPlugin.prototype.onSetCapabilitiesHandler; |
34 /** @type {function(): void} Request a PIN from the user. */ | 36 /** @type {function(): void} Request a PIN from the user. */ |
35 remoting.ClientPlugin.prototype.fetchPinHandler; | 37 remoting.ClientPlugin.prototype.fetchPinHandler; |
36 | 38 |
37 /** | 39 /** |
38 * Initializes the plugin asynchronously and calls specified function | 40 * Initializes the plugin asynchronously and calls specified function |
39 * when done. | 41 * when done. |
40 * | 42 * |
41 * @param {function(boolean): void} onDone Function to be called when | 43 * @param {function(boolean): void} onDone Function to be called when |
42 * the plugin is initialized. Parameter is set to true when the plugin | 44 * the plugin is initialized. Parameter is set to true when the plugin |
43 * is loaded successfully. | 45 * is loaded successfully. |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 * Gives the client authenticator the PIN. | 182 * Gives the client authenticator the PIN. |
181 * | 183 * |
182 * @param {string} pin The PIN. | 184 * @param {string} pin The PIN. |
183 */ | 185 */ |
184 remoting.ClientPlugin.prototype.onPinFetched = function(pin) {}; | 186 remoting.ClientPlugin.prototype.onPinFetched = function(pin) {}; |
185 | 187 |
186 /** | 188 /** |
187 * Tells the plugin to ask for the PIN asynchronously. | 189 * Tells the plugin to ask for the PIN asynchronously. |
188 */ | 190 */ |
189 remoting.ClientPlugin.prototype.useAsyncPinDialog = function() {}; | 191 remoting.ClientPlugin.prototype.useAsyncPinDialog = function() {}; |
OLD | NEW |