| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 INJECT_KEY_EVENT: 'injectKeyEvent', | 60 INJECT_KEY_EVENT: 'injectKeyEvent', |
| 61 NOTIFY_CLIENT_DIMENSIONS: 'notifyClientDimensions', | 61 NOTIFY_CLIENT_DIMENSIONS: 'notifyClientDimensions', |
| 62 NOTIFY_CLIENT_RESOLUTION: 'notifyClientResolution', | 62 NOTIFY_CLIENT_RESOLUTION: 'notifyClientResolution', |
| 63 ASYNC_PIN: 'asyncPin', | 63 ASYNC_PIN: 'asyncPin', |
| 64 PAUSE_VIDEO: 'pauseVideo', | 64 PAUSE_VIDEO: 'pauseVideo', |
| 65 PAUSE_AUDIO: 'pauseAudio', | 65 PAUSE_AUDIO: 'pauseAudio', |
| 66 REMAP_KEY: 'remapKey', | 66 REMAP_KEY: 'remapKey', |
| 67 SEND_CLIPBOARD_ITEM: 'sendClipboardItem', | 67 SEND_CLIPBOARD_ITEM: 'sendClipboardItem', |
| 68 THIRD_PARTY_AUTH: 'thirdPartyAuth', | 68 THIRD_PARTY_AUTH: 'thirdPartyAuth', |
| 69 TRAP_KEY: 'trapKey', | 69 TRAP_KEY: 'trapKey', |
| 70 PINLESS_AUTH: 'pinlessAuth' | 70 PINLESS_AUTH: 'pinlessAuth', |
| 71 EXTENSION_MESSAGE: 'extensionMessage' |
| 71 }; | 72 }; |
| 72 | 73 |
| 73 /** | 74 /** |
| 74 * @param {remoting.ClientPlugin.Feature} feature The feature to test for. | 75 * @param {remoting.ClientPlugin.Feature} feature The feature to test for. |
| 75 * @return {boolean} True if the plugin supports the named feature. | 76 * @return {boolean} True if the plugin supports the named feature. |
| 76 */ | 77 */ |
| 77 remoting.ClientPlugin.prototype.hasFeature = function(feature) {}; | 78 remoting.ClientPlugin.prototype.hasFeature = function(feature) {}; |
| 78 | 79 |
| 79 /** | 80 /** |
| 80 * @return {HTMLEmbedElement} HTML element that corresponds to the plugin. | 81 * @return {HTMLEmbedElement} HTML element that corresponds to the plugin. |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 | 209 |
| 209 /** | 210 /** |
| 210 * Request pairing with the host for PIN-less authentication. | 211 * Request pairing with the host for PIN-less authentication. |
| 211 * | 212 * |
| 212 * @param {string} clientName The human-readable name of the client. | 213 * @param {string} clientName The human-readable name of the client. |
| 213 * @param {function(string, string):void} onDone, Callback to receive the | 214 * @param {function(string, string):void} onDone, Callback to receive the |
| 214 * client id and shared secret when they are available. | 215 * client id and shared secret when they are available. |
| 215 */ | 216 */ |
| 216 remoting.ClientPlugin.prototype.requestPairing = function( | 217 remoting.ClientPlugin.prototype.requestPairing = function( |
| 217 clientName, onDone) {}; | 218 clientName, onDone) {}; |
| OLD | NEW |