Chromium Code Reviews| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 94 /** | 94 /** |
| 95 * Sends a clipboard item to the host. | 95 * Sends a clipboard item to the host. |
| 96 * | 96 * |
| 97 * @param {string} mimeType The MIME type of the clipboard item. | 97 * @param {string} mimeType The MIME type of the clipboard item. |
| 98 * @param {string} item The clipboard item. | 98 * @param {string} item The clipboard item. |
| 99 */ | 99 */ |
| 100 remoting.ClientPlugin.prototype.sendClipboardItem = | 100 remoting.ClientPlugin.prototype.sendClipboardItem = |
| 101 function(mimeType, item) {}; | 101 function(mimeType, item) {}; |
| 102 | 102 |
| 103 /** | 103 /** |
| 104 * Notifies the plugin that touch events should be handled by the plugin. | |
|
Wez
2015/03/30 17:10:07
nit: No need for two mentions of "plugin". ;) e.g.
Rintaro Kuroiwa
2015/04/08 03:27:43
Done.
| |
| 105 * | |
| 106 * @return {void} Nothing. | |
| 107 */ | |
| 108 remoting.ClientPlugin.prototype.enableTouchEvents = function() {}; | |
| 109 | |
| 110 /** | |
| 104 * Request that this client be paired with the current host. | 111 * Request that this client be paired with the current host. |
| 105 * | 112 * |
| 106 * @param {string} clientName The human-readable name of the client. | 113 * @param {string} clientName The human-readable name of the client. |
| 107 * @param {function(string, string):void} onDone Callback to receive the | 114 * @param {function(string, string):void} onDone Callback to receive the |
| 108 * client id and shared secret when they are available. | 115 * client id and shared secret when they are available. |
| 109 */ | 116 */ |
| 110 remoting.ClientPlugin.prototype.requestPairing = | 117 remoting.ClientPlugin.prototype.requestPairing = |
| 111 function(clientName, onDone) {}; | 118 function(clientName, onDone) {}; |
| 112 | 119 |
| 113 /** | 120 /** |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 254 /** | 261 /** |
| 255 * Preload the plugin to make instantiation faster when the user tries | 262 * Preload the plugin to make instantiation faster when the user tries |
| 256 * to connect. | 263 * to connect. |
| 257 */ | 264 */ |
| 258 remoting.ClientPluginFactory.prototype.preloadPlugin = function() {}; | 265 remoting.ClientPluginFactory.prototype.preloadPlugin = function() {}; |
| 259 | 266 |
| 260 /** | 267 /** |
| 261 * @type {remoting.ClientPluginFactory} | 268 * @type {remoting.ClientPluginFactory} |
| 262 */ | 269 */ |
| 263 remoting.ClientPlugin.factory = null; | 270 remoting.ClientPlugin.factory = null; |
| OLD | NEW |