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

Side by Side Diff: remoting/webapp/client_session.js

Issue 372943002: Add video frame recording capability to Chromoting hosts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Correct comment Created 6 years, 4 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
OLDNEW
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 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * Class handling creation and teardown of a remoting client session. 7 * Class handling creation and teardown of a remoting client session.
8 * 8 *
9 * The ClientSession class controls lifetime of the client plugin 9 * The ClientSession class controls lifetime of the client plugin
10 * object and provides the plugin with the functionality it needs to 10 * object and provides the plugin with the functionality it needs to
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 /** 355 /**
356 * Set of capabilities for which hasCapability_() can be used to test. 356 * Set of capabilities for which hasCapability_() can be used to test.
357 * 357 *
358 * @enum {string} 358 * @enum {string}
359 */ 359 */
360 remoting.ClientSession.Capability = { 360 remoting.ClientSession.Capability = {
361 // When enabled this capability causes the client to send its screen 361 // When enabled this capability causes the client to send its screen
362 // resolution to the host once connection has been established. See 362 // resolution to the host once connection has been established. See
363 // this.plugin_.notifyClientResolution(). 363 // this.plugin_.notifyClientResolution().
364 SEND_INITIAL_RESOLUTION: 'sendInitialResolution', 364 SEND_INITIAL_RESOLUTION: 'sendInitialResolution',
365 RATE_LIMIT_RESIZE_REQUESTS: 'rateLimitResizeRequests' 365 RATE_LIMIT_RESIZE_REQUESTS: 'rateLimitResizeRequests',
366 VIDEO_RECORDER: 'videoRecorder'
366 }; 367 };
367 368
368 /** 369 /**
369 * The set of capabilities negotiated between the client and host. 370 * The set of capabilities negotiated between the client and host.
370 * @type {Array.<string>} 371 * @type {Array.<string>}
371 * @private 372 * @private
372 */ 373 */
373 remoting.ClientSession.prototype.capabilities_ = null; 374 remoting.ClientSession.prototype.capabilities_ = null;
374 375
375 /** 376 /**
(...skipping 1168 matching lines...) Expand 10 before | Expand all | Expand 10 after
1544 */ 1545 */
1545 remoting.ClientSession.prototype.updateMouseCursorImage_ = 1546 remoting.ClientSession.prototype.updateMouseCursorImage_ =
1546 function(url, hotspotX, hotspotY) { 1547 function(url, hotspotX, hotspotY) {
1547 this.mouseCursorOverlay_.hidden = !url; 1548 this.mouseCursorOverlay_.hidden = !url;
1548 if (url) { 1549 if (url) {
1549 this.mouseCursorOverlay_.style.marginLeft = '-' + hotspotX + 'px'; 1550 this.mouseCursorOverlay_.style.marginLeft = '-' + hotspotX + 'px';
1550 this.mouseCursorOverlay_.style.marginTop = '-' + hotspotY + 'px'; 1551 this.mouseCursorOverlay_.style.marginTop = '-' + hotspotY + 'px';
1551 this.mouseCursorOverlay_.src = url; 1552 this.mouseCursorOverlay_.src = url;
1552 } 1553 }
1553 }; 1554 };
OLDNEW
« remoting/host/video_frame_recorder_host_extension.cc ('K') | « remoting/webapp/client_plugin.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698