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

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

Issue 983023002: [Chromoting] Use compact notation for javascript @private types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « remoting/webapp/crd/js/menu_button.js ('k') | remoting/webapp/crd/js/session_connector_impl.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 the in-session options menu (or menus in the case of apps v1). 7 * Class handling the in-session options menu (or menus in the case of apps v1).
8 */ 8 */
9 9
10 'use strict'; 10 'use strict';
(...skipping 16 matching lines...) Expand all
27 newConnection, fullscreen, 27 newConnection, fullscreen,
28 startStopRecording) { 28 startStopRecording) {
29 this.sendCtrlAltDel_ = sendCtrlAltDel; 29 this.sendCtrlAltDel_ = sendCtrlAltDel;
30 this.sendPrtScrn_ = sendPrtScrn; 30 this.sendPrtScrn_ = sendPrtScrn;
31 this.resizeToClient_ = resizeToClient; 31 this.resizeToClient_ = resizeToClient;
32 this.shrinkToFit_ = shrinkToFit; 32 this.shrinkToFit_ = shrinkToFit;
33 this.newConnection_ = newConnection; 33 this.newConnection_ = newConnection;
34 this.fullscreen_ = fullscreen; 34 this.fullscreen_ = fullscreen;
35 this.startStopRecording_ = startStopRecording; 35 this.startStopRecording_ = startStopRecording;
36 36
37 /** 37 /** @private {remoting.DesktopConnectedView} */
38 * @type {remoting.DesktopConnectedView}
39 * @private
40 */
41 this.desktopConnectedView_ = null; 38 this.desktopConnectedView_ = null;
42 39
43 this.sendCtrlAltDel_.addEventListener( 40 this.sendCtrlAltDel_.addEventListener(
44 'click', this.onSendCtrlAltDel_.bind(this), false); 41 'click', this.onSendCtrlAltDel_.bind(this), false);
45 this.sendPrtScrn_.addEventListener( 42 this.sendPrtScrn_.addEventListener(
46 'click', this.onSendPrtScrn_.bind(this), false); 43 'click', this.onSendPrtScrn_.bind(this), false);
47 this.resizeToClient_.addEventListener( 44 this.resizeToClient_.addEventListener(
48 'click', this.onResizeToClient_.bind(this), false); 45 'click', this.onResizeToClient_.bind(this), false);
49 this.shrinkToFit_.addEventListener( 46 this.shrinkToFit_.addEventListener(
50 'click', this.onShrinkToFit_.bind(this), false); 47 'click', this.onShrinkToFit_.bind(this), false);
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 remoting.OptionsMenu.prototype.onStartStopRecording_ = function() { 136 remoting.OptionsMenu.prototype.onStartStopRecording_ = function() {
140 if (this.desktopConnectedView_) { 137 if (this.desktopConnectedView_) {
141 this.desktopConnectedView_.startStopRecording(); 138 this.desktopConnectedView_.startStopRecording();
142 } 139 }
143 } 140 }
144 141
145 /** 142 /**
146 * @type {remoting.OptionsMenu} 143 * @type {remoting.OptionsMenu}
147 */ 144 */
148 remoting.optionsMenu = null; 145 remoting.optionsMenu = null;
OLDNEW
« no previous file with comments | « remoting/webapp/crd/js/menu_button.js ('k') | remoting/webapp/crd/js/session_connector_impl.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698