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

Side by Side Diff: remoting/webapp/crd/js/host_desktop.js

Issue 929323003: Separate host desktop related functionality into remoting.HostDesktop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Separating from https://codereview.chromium.org/918783002/ Created 5 years, 10 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
OLDNEW
(Empty)
1 // Copyright 2015 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 /**
6 * @fileoverview
7 * Interface abstracting the functionality of the HostDesktop.
8 */
9
10 var remoting = remoting || {};
11
12 (function() {
13
14 'use strict';
15
16 /**
17 * @interface
18 * @extends {base.EventSource}
19 */
20 remoting.HostDesktop = function() {};
21
22 /** @return {boolean} */
kelvinp 2015/02/18 02:31:51 When defining an interface, more comments are almo
23 remoting.HostDesktop.prototype.hasResizeRateLimit = function() {};
24
25 /** @return {boolean} */
26 remoting.HostDesktop.prototype.isResizable = function() {};
27
28 /** @enum {string} */
29 remoting.HostDesktop.Events = {
30 sizeChanged: 'sizeChanged',
31 shapeChanged: 'shapeChanged'
32 };
33
34 /** @return {{width:number, height:number, xDpi:number, yDpi:number}} */
35 remoting.HostDesktop.prototype.getDimensions = function() {};
36
37 /**
38 * Resize the desktop of the host to |width|, |height| and |dpi|.
39 *
40 * @param {number} width
41 * @param {number} height
42 * @param {number} dpi
43 */
44 remoting.HostDesktop.prototype.resize = function(width, height, dpi) {};
45
46 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698