OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 /** @suppress {duplicate} */ | 5 /** @suppress {duplicate} */ |
6 var remoting = remoting || {}; | 6 var remoting = remoting || {}; |
7 | 7 |
8 /** | 8 /** |
9 * Interface used for ClientPlugin objects. | 9 * Interface used for ClientPlugin objects. |
10 * @interface | 10 * @interface |
11 */ | 11 */ |
12 remoting.ClientPlugin = function() { | 12 remoting.ClientPlugin = function() { |
13 }; | 13 }; |
14 | 14 |
15 /** @type {number} Desktop width */ | 15 /** @type {number} Desktop width */ |
16 remoting.ClientPlugin.prototype.desktopWidth; | 16 remoting.ClientPlugin.prototype.desktopWidth; |
17 /** @type {number} Desktop height */ | 17 /** @type {number} Desktop height */ |
18 remoting.ClientPlugin.prototype.desktopHeight; | 18 remoting.ClientPlugin.prototype.desktopHeight; |
19 /** @type {number} Desktop x DPI */ | |
20 remoting.ClientPlugin.prototype.desktopDpiX; | |
Wez
2012/07/19 01:00:42
nit: desktopXDpi, desktopYDpi read more naturally.
Jamie
2012/07/19 23:00:06
Done.
| |
21 /** @type {number} Desktop y DPI */ | |
22 remoting.ClientPlugin.prototype.desktopDpiY; | |
19 | 23 |
20 /** @type {function(string): void} Outgoing signaling message callback. */ | 24 /** @type {function(string): void} Outgoing signaling message callback. */ |
21 remoting.ClientPlugin.prototype.onOutgoingIqHandler; | 25 remoting.ClientPlugin.prototype.onOutgoingIqHandler; |
22 /** @type {function(string): void} Debug messages callback. */ | 26 /** @type {function(string): void} Debug messages callback. */ |
23 remoting.ClientPlugin.prototype.onDebugMessageHandler; | 27 remoting.ClientPlugin.prototype.onDebugMessageHandler; |
24 /** @type {function(number, number): void} State change callback. */ | 28 /** @type {function(number, number): void} State change callback. */ |
25 remoting.ClientPlugin.prototype.onConnectionStatusUpdateHandler; | 29 remoting.ClientPlugin.prototype.onConnectionStatusUpdateHandler; |
26 /** @type {function(): void} Desktop size change callback. */ | 30 /** @type {function(): void} Desktop size change callback. */ |
27 remoting.ClientPlugin.prototype.onDesktopSizeUpdateHandler; | 31 remoting.ClientPlugin.prototype.onDesktopSizeUpdateHandler; |
28 | 32 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
140 remoting.ClientPlugin.prototype.notifyClientDimensions = | 144 remoting.ClientPlugin.prototype.notifyClientDimensions = |
141 function(width, height) {}; | 145 function(width, height) {}; |
142 | 146 |
143 /** | 147 /** |
144 * Requests that the host pause or resume sending video updates. | 148 * Requests that the host pause or resume sending video updates. |
145 * | 149 * |
146 * @param {boolean} pause True to suspend video updates, false otherwise. | 150 * @param {boolean} pause True to suspend video updates, false otherwise. |
147 */ | 151 */ |
148 remoting.ClientPlugin.prototype.pauseVideo = | 152 remoting.ClientPlugin.prototype.pauseVideo = |
149 function(pause) {}; | 153 function(pause) {}; |
OLD | NEW |