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

Side by Side Diff: remoting/webapp/me2mom/viewer_plugin_proto.js

Issue 8573024: Clean up client state callback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « remoting/webapp/me2mom/server_log_entry.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // This file contains type definitions for the viewer plugin. It is used only 5 // This file contains type definitions for the viewer plugin. It is used only
6 // with JSCompiler to verify the type-correctness of our code. 6 // with JSCompiler to verify the type-correctness of our code.
7 7
8 /** @suppress {duplicate} */ 8 /** @suppress {duplicate} */
9 var remoting = remoting || {}; 9 var remoting = remoting || {};
10 10
(...skipping 14 matching lines...) Expand all
25 /** 25 /**
26 * @param {string} hostJid The host's JID. 26 * @param {string} hostJid The host's JID.
27 * @param {string} hostPublicKey The host's public key. 27 * @param {string} hostPublicKey The host's public key.
28 * @param {string} clientJid The client's JID. 28 * @param {string} clientJid The client's JID.
29 * @param {string} accessCode The access code. 29 * @param {string} accessCode The access code.
30 * @return {void} Nothing. 30 * @return {void} Nothing.
31 */ 31 */
32 remoting.ViewerPlugin.prototype.connect = 32 remoting.ViewerPlugin.prototype.connect =
33 function(hostJid, hostPublicKey, clientJid, accessCode) {}; 33 function(hostJid, hostPublicKey, clientJid, accessCode) {};
34 34
35 /** @type {function(number, number): void} State change callback function. */
36 remoting.ViewerPlugin.prototype.connectionInfoUpdate;
37
35 /** @type {number} */ remoting.ViewerPlugin.prototype.apiMinVersion; 38 /** @type {number} */ remoting.ViewerPlugin.prototype.apiMinVersion;
36 /** @type {number} */ remoting.ViewerPlugin.prototype.apiVersion; 39 /** @type {number} */ remoting.ViewerPlugin.prototype.apiVersion;
37 40
38 /** @type {number} */ remoting.ViewerPlugin.prototype.desktopHeight; 41 /** @type {number} */ remoting.ViewerPlugin.prototype.desktopHeight;
39 /** @type {number} */ remoting.ViewerPlugin.prototype.desktopWidth; 42 /** @type {number} */ remoting.ViewerPlugin.prototype.desktopWidth;
40 43
41 /** @type {number} */ remoting.ViewerPlugin.prototype.status; 44 /** @type {number} */ remoting.ViewerPlugin.prototype.status;
42 /** @type {number} */ remoting.ViewerPlugin.prototype.error; 45 /** @type {number} */ remoting.ViewerPlugin.prototype.error;
43 46
44 /** @type {number} */ remoting.ViewerPlugin.prototype.STATUS_UNKNOWN; 47 /** @type {number} */ remoting.ViewerPlugin.prototype.STATUS_UNKNOWN;
(...skipping 10 matching lines...) Expand all
55 remoting.ViewerPlugin.prototype.ERROR_INCOMPATIBLE_PROTOCOL; 58 remoting.ViewerPlugin.prototype.ERROR_INCOMPATIBLE_PROTOCOL;
56 /** @type {number} */ remoting.ViewerPlugin.prototype.ERROR_NETWORK_FAILURE; 59 /** @type {number} */ remoting.ViewerPlugin.prototype.ERROR_NETWORK_FAILURE;
57 60
58 /** @type {number} */ remoting.ViewerPlugin.prototype.videoBandwidth; 61 /** @type {number} */ remoting.ViewerPlugin.prototype.videoBandwidth;
59 /** @type {number} */ remoting.ViewerPlugin.prototype.videoCaptureLatency; 62 /** @type {number} */ remoting.ViewerPlugin.prototype.videoCaptureLatency;
60 /** @type {number} */ remoting.ViewerPlugin.prototype.videoDecodeLatency; 63 /** @type {number} */ remoting.ViewerPlugin.prototype.videoDecodeLatency;
61 /** @type {number} */ remoting.ViewerPlugin.prototype.videoEncodeLatency; 64 /** @type {number} */ remoting.ViewerPlugin.prototype.videoEncodeLatency;
62 /** @type {number} */ remoting.ViewerPlugin.prototype.videoFrameRate; 65 /** @type {number} */ remoting.ViewerPlugin.prototype.videoFrameRate;
63 /** @type {number} */ remoting.ViewerPlugin.prototype.videoRenderLatency; 66 /** @type {number} */ remoting.ViewerPlugin.prototype.videoRenderLatency;
64 /** @type {number} */ remoting.ViewerPlugin.prototype.roundTripLatency; 67 /** @type {number} */ remoting.ViewerPlugin.prototype.roundTripLatency;
OLDNEW
« no previous file with comments | « remoting/webapp/me2mom/server_log_entry.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698