OLD | NEW |
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 Loading... |
25 /** @type {number} */ remoting.ViewerPlugin.desktopHeight; | 25 /** @type {number} */ remoting.ViewerPlugin.desktopHeight; |
26 /** @type {number} */ remoting.ViewerPlugin.desktopWidth; | 26 /** @type {number} */ remoting.ViewerPlugin.desktopWidth; |
27 | 27 |
28 /** @type {number} */ remoting.ViewerPlugin.STATUS_UNKNOWN; | 28 /** @type {number} */ remoting.ViewerPlugin.STATUS_UNKNOWN; |
29 /** @type {number} */ remoting.ViewerPlugin.STATUS_CONNECTING; | 29 /** @type {number} */ remoting.ViewerPlugin.STATUS_CONNECTING; |
30 /** @type {number} */ remoting.ViewerPlugin.STATUS_INITIALIZING; | 30 /** @type {number} */ remoting.ViewerPlugin.STATUS_INITIALIZING; |
31 /** @type {number} */ remoting.ViewerPlugin.STATUS_CONNECTED; | 31 /** @type {number} */ remoting.ViewerPlugin.STATUS_CONNECTED; |
32 /** @type {number} */ remoting.ViewerPlugin.STATUS_CLOSED; | 32 /** @type {number} */ remoting.ViewerPlugin.STATUS_CLOSED; |
33 /** @type {number} */ remoting.ViewerPlugin.STATUS_FAILED; | 33 /** @type {number} */ remoting.ViewerPlugin.STATUS_FAILED; |
34 | 34 |
| 35 /** @type {number} */ remoting.ViewerPlugin.ERROR_NONE; |
| 36 /** @type {number} */ remoting.ViewerPlugin.ERROR_HOST_IS_OFFLINE; |
| 37 /** @type {number} */ remoting.ViewerPlugin.ERROR_SESSION_REJECTED; |
| 38 /** @type {number} */ remoting.ViewerPlugin.ERROR_INCOMPATIBLE_PROTOCOL; |
| 39 /** @type {number} */ remoting.ViewerPlugin.ERROR_NETWORK_FAILURE; |
| 40 |
35 /** @type {number} */ remoting.ViewerPlugin.videoBandwidth; | 41 /** @type {number} */ remoting.ViewerPlugin.videoBandwidth; |
36 /** @type {number} */ remoting.ViewerPlugin.videoCaptureLatency; | 42 /** @type {number} */ remoting.ViewerPlugin.videoCaptureLatency; |
37 /** @type {number} */ remoting.ViewerPlugin.videoEncodeLatency; | 43 /** @type {number} */ remoting.ViewerPlugin.videoEncodeLatency; |
38 /** @type {number} */ remoting.ViewerPlugin.videoDecodeLatency; | 44 /** @type {number} */ remoting.ViewerPlugin.videoDecodeLatency; |
39 /** @type {number} */ remoting.ViewerPlugin.videoRenderLatency; | 45 /** @type {number} */ remoting.ViewerPlugin.videoRenderLatency; |
40 /** @type {number} */ remoting.ViewerPlugin.roundTripLatency; | 46 /** @type {number} */ remoting.ViewerPlugin.roundTripLatency; |
OLD | NEW |