Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Side by Side Diff: remoting/webapp/crd/js/client_plugin.js

Issue 917093003: Shorten Closure template notation from Array.<*> to Array<*>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove cvox Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 function(handler) {}; 216 function(handler) {};
217 217
218 /** 218 /**
219 * @param {function():void} handler Callback for desktop size change 219 * @param {function():void} handler Callback for desktop size change
220 * notifications. 220 * notifications.
221 */ 221 */
222 remoting.ClientPlugin.prototype.setDesktopSizeUpdateHandler = 222 remoting.ClientPlugin.prototype.setDesktopSizeUpdateHandler =
223 function(handler) {}; 223 function(handler) {};
224 224
225 /** 225 /**
226 * @param {function(Array.<Array.<number>>):void} handler Callback for desktop 226 * @param {function(Array<Array<number>>):void} handler Callback for desktop
227 * shape change notifications. 227 * shape change notifications.
228 */ 228 */
229 remoting.ClientPlugin.prototype.setDesktopShapeUpdateHandler = 229 remoting.ClientPlugin.prototype.setDesktopShapeUpdateHandler =
230 function(handler) {}; 230 function(handler) {};
231 231
232 /** 232 /**
233 * @param {function(!Array.<string>):void} handler Callback to inform of 233 * @param {function(!Array<string>):void} handler Callback to inform of
234 * capabilities negotiated between host and client. 234 * capabilities negotiated between host and client.
235 */ 235 */
236 remoting.ClientPlugin.prototype.setCapabilitiesHandler = 236 remoting.ClientPlugin.prototype.setCapabilitiesHandler =
237 function(handler) {}; 237 function(handler) {};
238 238
239 /** 239 /**
240 * @param {function(string):void} handler Callback for processing security key 240 * @param {function(string):void} handler Callback for processing security key
241 * (Gnubby) protocol messages. 241 * (Gnubby) protocol messages.
242 */ 242 */
243 remoting.ClientPlugin.prototype.setGnubbyAuthHandler = 243 remoting.ClientPlugin.prototype.setGnubbyAuthHandler =
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 /** 302 /**
303 * @interface 303 * @interface
304 */ 304 */
305 remoting.ClientPluginFactory = function() {}; 305 remoting.ClientPluginFactory = function() {};
306 306
307 /** 307 /**
308 * @param {Element} container The container for the embed element. 308 * @param {Element} container The container for the embed element.
309 * @param {function(string, string):boolean} onExtensionMessage The handler for 309 * @param {function(string, string):boolean} onExtensionMessage The handler for
310 * protocol extension messages. Returns true if a message is recognized; 310 * protocol extension messages. Returns true if a message is recognized;
311 * false otherwise. 311 * false otherwise.
312 * @param {Array.<string>} requiredCapabilities 312 * @param {Array<string>} requiredCapabilities
313 * @return {remoting.ClientPlugin} A new client plugin instance. 313 * @return {remoting.ClientPlugin} A new client plugin instance.
314 */ 314 */
315 remoting.ClientPluginFactory.prototype.createPlugin = 315 remoting.ClientPluginFactory.prototype.createPlugin =
316 function(container, onExtensionMessage, requiredCapabilities) {}; 316 function(container, onExtensionMessage, requiredCapabilities) {};
317 317
318 /** 318 /**
319 * Preload the plugin to make instantiation faster when the user tries 319 * Preload the plugin to make instantiation faster when the user tries
320 * to connect. 320 * to connect.
321 */ 321 */
322 remoting.ClientPluginFactory.prototype.preloadPlugin = function() {}; 322 remoting.ClientPluginFactory.prototype.preloadPlugin = function() {};
323 323
324 /** 324 /**
325 * @type {remoting.ClientPluginFactory} 325 * @type {remoting.ClientPluginFactory}
326 */ 326 */
327 remoting.ClientPlugin.factory = null; 327 remoting.ClientPlugin.factory = null;
OLDNEW
« no previous file with comments | « remoting/webapp/crd/js/cast_extension_handler.js ('k') | remoting/webapp/crd/js/client_plugin_impl.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698