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/04/21 02:12:12
Suggest "Notifies the plugin whether send touch ev
Rintaro Kuroiwa
2015/04/22 19:56:00
Done.
| |
105 * | |
106 * @param {boolean} True if the plugin should handle touch events. | |
107 * @return {void} Nothing. | |
Wez
2015/04/21 02:12:12
nit: No need for Nothing, AFAIK
Rintaro Kuroiwa
2015/04/22 19:56:00
Done.
| |
108 */ | |
109 remoting.ClientPlugin.prototype.enableTouchEvents = function(enable) {}; | |
110 | |
111 /** | |
104 * Request that this client be paired with the current host. | 112 * Request that this client be paired with the current host. |
105 * | 113 * |
106 * @param {string} clientName The human-readable name of the client. | 114 * @param {string} clientName The human-readable name of the client. |
107 * @param {function(string, string):void} onDone Callback to receive the | 115 * @param {function(string, string):void} onDone Callback to receive the |
108 * client id and shared secret when they are available. | 116 * client id and shared secret when they are available. |
109 */ | 117 */ |
110 remoting.ClientPlugin.prototype.requestPairing = | 118 remoting.ClientPlugin.prototype.requestPairing = |
111 function(clientName, onDone) {}; | 119 function(clientName, onDone) {}; |
112 | 120 |
113 /** | 121 /** |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
254 /** | 262 /** |
255 * Preload the plugin to make instantiation faster when the user tries | 263 * Preload the plugin to make instantiation faster when the user tries |
256 * to connect. | 264 * to connect. |
257 */ | 265 */ |
258 remoting.ClientPluginFactory.prototype.preloadPlugin = function() {}; | 266 remoting.ClientPluginFactory.prototype.preloadPlugin = function() {}; |
259 | 267 |
260 /** | 268 /** |
261 * @type {remoting.ClientPluginFactory} | 269 * @type {remoting.ClientPluginFactory} |
262 */ | 270 */ |
263 remoting.ClientPlugin.factory = null; | 271 remoting.ClientPlugin.factory = null; |
OLD | NEW |