| Index: remoting/webapp/base/js/chromoting_event.js
|
| diff --git a/remoting/webapp/base/js/chromoting_event.js b/remoting/webapp/base/js/chromoting_event.js
|
| index c74dc4d4fdf9a56f4449f404e9895b2a16d6b457..73e4464d601b98b8534a544ce8a4c86d0e0b76af 100644
|
| --- a/remoting/webapp/base/js/chromoting_event.js
|
| +++ b/remoting/webapp/base/js/chromoting_event.js
|
| @@ -120,6 +120,13 @@ remoting.ChromotingEvent = function(type) {
|
| * @type {remoting.ChromotingEvent.FeatureTracker}
|
| */
|
| this.feature_tracker;
|
| + /** @type {remoting.ChromotingEvent.ScreenResolution} */
|
| + this.client_resolution;
|
| + /** @type {remoting.ChromotingEvent.ScreenResolution} */
|
| + this.host_resolution;
|
| + /** @type {boolean} */
|
| + this.client_fullscreen;
|
| +
|
| this.init_();
|
| };
|
|
|
| @@ -230,6 +237,19 @@ remoting.ChromotingEvent.FeatureTracker = function() {
|
| this.fullscreen_esc_count = 0;
|
| };
|
|
|
| +/**
|
| + * Client or host screen resolution.
|
| + * @param {number} width
|
| + * @param {number} height
|
| + * @constructor
|
| + */
|
| + remoting.ChromotingEvent.ScreenResolution = function(width, height) {
|
| + /** @type {number} */
|
| + this.width = width;
|
| + /** @type {number} */
|
| + this.height = height;
|
| +};
|
| +
|
| })();
|
|
|
| /**
|
| @@ -245,7 +265,8 @@ remoting.ChromotingEvent.Type = {
|
| RESTART: 7,
|
| HOST_STATUS: 8,
|
| SIGNAL_STRATEGY_PROGRESS: 9,
|
| - FEATURE_TRACKING: 10
|
| + FEATURE_TRACKING: 10,
|
| + SCREEN_RESOLUTIONS: 11,
|
| };
|
|
|
| /** @enum {number} */
|
|
|