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

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

Issue 9148043: Rename webapp_it2me to remoting_webapp and move it from webapp/me2mom to webapp/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add webapp_it2me back Created 8 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « remoting/webapp/me2mom/util.js ('k') | remoting/webapp/me2mom/wcs.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
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.
7
8 /** @suppress {duplicate} */
9 var remoting = remoting || {};
10
11 /** @constructor
12 * @extends HTMLElement
13 */
14 remoting.ViewerPlugin = function() {};
15
16 /** @param {string} iq The Iq stanza received from the host. */
17 remoting.ViewerPlugin.prototype.onIq = function(iq) {};
18
19 /** @param {boolean} scale True to enable scaling, false to disable. */
20 remoting.ViewerPlugin.prototype.setScaleToFit = function(scale) {};
21
22 /** Release all keys currently pressed by this client. */
23 remoting.ViewerPlugin.prototype.releaseAllKeys = function() {};
24
25 /**
26 * @param {string} hostJid The host's JID.
27 * @param {string} hostPublicKey The host's public key.
28 * @param {string} clientJid The client's JID.
29 * @param {string} authenticationCode The access code for IT2Me or the
30 * PIN for Me2Me.
31 * @return {void} Nothing.
32 */
33 remoting.ViewerPlugin.prototype.connect =
34 function(hostJid, hostPublicKey, clientJid, authenticationCode) {};
35
36 /** @type {function(number, number): void} State change callback function. */
37 remoting.ViewerPlugin.prototype.connectionInfoUpdate;
38
39 /** @type {number} */ remoting.ViewerPlugin.prototype.apiMinVersion;
40 /** @type {number} */ remoting.ViewerPlugin.prototype.apiVersion;
41
42 /** @type {number} */ remoting.ViewerPlugin.prototype.desktopHeight;
43 /** @type {number} */ remoting.ViewerPlugin.prototype.desktopWidth;
44
45 /** @type {number} */ remoting.ViewerPlugin.prototype.status;
46 /** @type {number} */ remoting.ViewerPlugin.prototype.error;
47
48 /** @type {number} */ remoting.ViewerPlugin.prototype.STATUS_UNKNOWN;
49 /** @type {number} */ remoting.ViewerPlugin.prototype.STATUS_CONNECTING;
50 /** @type {number} */ remoting.ViewerPlugin.prototype.STATUS_INITIALIZING;
51 /** @type {number} */ remoting.ViewerPlugin.prototype.STATUS_CONNECTED;
52 /** @type {number} */ remoting.ViewerPlugin.prototype.STATUS_CLOSED;
53 /** @type {number} */ remoting.ViewerPlugin.prototype.STATUS_FAILED;
54
55 /** @type {number} */ remoting.ViewerPlugin.prototype.ERROR_NONE;
56 /** @type {number} */ remoting.ViewerPlugin.prototype.ERROR_HOST_IS_OFFLINE;
57 /** @type {number} */ remoting.ViewerPlugin.prototype.ERROR_SESSION_REJECTED;
58 /** @type {number} */
59 remoting.ViewerPlugin.prototype.ERROR_INCOMPATIBLE_PROTOCOL;
60 /** @type {number} */ remoting.ViewerPlugin.prototype.ERROR_NETWORK_FAILURE;
61
62 /** @type {number} */ remoting.ViewerPlugin.prototype.videoBandwidth;
63 /** @type {number} */ remoting.ViewerPlugin.prototype.videoCaptureLatency;
64 /** @type {number} */ remoting.ViewerPlugin.prototype.videoDecodeLatency;
65 /** @type {number} */ remoting.ViewerPlugin.prototype.videoEncodeLatency;
66 /** @type {number} */ remoting.ViewerPlugin.prototype.videoFrameRate;
67 /** @type {number} */ remoting.ViewerPlugin.prototype.videoRenderLatency;
68 /** @type {number} */ remoting.ViewerPlugin.prototype.roundTripLatency;
OLDNEW
« no previous file with comments | « remoting/webapp/me2mom/util.js ('k') | remoting/webapp/me2mom/wcs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698