| 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 ClientPlugin functionality. | 7 * Interface abstracting the ClientPlugin functionality. |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 'use strict'; | 10 'use strict'; |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 */ | 105 */ |
| 106 remoting.ClientPlugin.prototype.isSupportedVersion = function() {}; | 106 remoting.ClientPlugin.prototype.isSupportedVersion = function() {}; |
| 107 | 107 |
| 108 /** | 108 /** |
| 109 * @param {remoting.ClientPlugin.Feature} feature | 109 * @param {remoting.ClientPlugin.Feature} feature |
| 110 * @return {boolean} True if the plugin support the specified feature. | 110 * @return {boolean} True if the plugin support the specified feature. |
| 111 */ | 111 */ |
| 112 remoting.ClientPlugin.prototype.hasFeature = function(feature) {}; | 112 remoting.ClientPlugin.prototype.hasFeature = function(feature) {}; |
| 113 | 113 |
| 114 /** | 114 /** |
| 115 * Enable MediaSource rendering via the specified renderer. | |
| 116 * | |
| 117 * @param {remoting.MediaSourceRenderer} mediaSourceRenderer | |
| 118 */ | |
| 119 remoting.ClientPlugin.prototype.enableMediaSourceRendering = | |
| 120 function(mediaSourceRenderer) {}; | |
| 121 | |
| 122 /** | |
| 123 * Sends a clipboard item to the host. | 115 * Sends a clipboard item to the host. |
| 124 * | 116 * |
| 125 * @param {string} mimeType The MIME type of the clipboard item. | 117 * @param {string} mimeType The MIME type of the clipboard item. |
| 126 * @param {string} item The clipboard item. | 118 * @param {string} item The clipboard item. |
| 127 */ | 119 */ |
| 128 remoting.ClientPlugin.prototype.sendClipboardItem = | 120 remoting.ClientPlugin.prototype.sendClipboardItem = |
| 129 function(mimeType, item) {}; | 121 function(mimeType, item) {}; |
| 130 | 122 |
| 131 /** | 123 /** |
| 132 * Tell the plugin to request a PIN asynchronously. | 124 * Tell the plugin to request a PIN asynchronously. |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 ASYNC_PIN: 'asyncPin', | 288 ASYNC_PIN: 'asyncPin', |
| 297 PAUSE_VIDEO: 'pauseVideo', | 289 PAUSE_VIDEO: 'pauseVideo', |
| 298 PAUSE_AUDIO: 'pauseAudio', | 290 PAUSE_AUDIO: 'pauseAudio', |
| 299 REMAP_KEY: 'remapKey', | 291 REMAP_KEY: 'remapKey', |
| 300 SEND_CLIPBOARD_ITEM: 'sendClipboardItem', | 292 SEND_CLIPBOARD_ITEM: 'sendClipboardItem', |
| 301 THIRD_PARTY_AUTH: 'thirdPartyAuth', | 293 THIRD_PARTY_AUTH: 'thirdPartyAuth', |
| 302 TRAP_KEY: 'trapKey', | 294 TRAP_KEY: 'trapKey', |
| 303 PINLESS_AUTH: 'pinlessAuth', | 295 PINLESS_AUTH: 'pinlessAuth', |
| 304 ALLOW_MOUSE_LOCK: 'allowMouseLock', | 296 ALLOW_MOUSE_LOCK: 'allowMouseLock', |
| 305 EXTENSION_MESSAGE: 'extensionMessage', | 297 EXTENSION_MESSAGE: 'extensionMessage', |
| 306 MEDIA_SOURCE_RENDERING: 'mediaSourceRendering', | |
| 307 VIDEO_CONTROL: 'videoControl' | 298 VIDEO_CONTROL: 'videoControl' |
| 308 }; | 299 }; |
| 309 | 300 |
| 310 | 301 |
| 311 /** | 302 /** |
| 312 * @interface | 303 * @interface |
| 313 */ | 304 */ |
| 314 remoting.ClientPluginFactory = function() {}; | 305 remoting.ClientPluginFactory = function() {}; |
| 315 | 306 |
| 316 /** | 307 /** |
| (...skipping 10 matching lines...) Expand all Loading... |
| 327 /** | 318 /** |
| 328 * Preload the plugin to make instantiation faster when the user tries | 319 * Preload the plugin to make instantiation faster when the user tries |
| 329 * to connect. | 320 * to connect. |
| 330 */ | 321 */ |
| 331 remoting.ClientPluginFactory.prototype.preloadPlugin = function() {}; | 322 remoting.ClientPluginFactory.prototype.preloadPlugin = function() {}; |
| 332 | 323 |
| 333 /** | 324 /** |
| 334 * @type {remoting.ClientPluginFactory} | 325 * @type {remoting.ClientPluginFactory} |
| 335 */ | 326 */ |
| 336 remoting.ClientPlugin.factory = null; | 327 remoting.ClientPlugin.factory = null; |
| OLD | NEW |