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

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

Issue 1089493002: [Webapp Refactor] Re-add remoting.ConnectionStats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reviewer's feedback Created 5 years, 8 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/remoting.js ('k') | remoting/webapp/crd/js/ui_mode.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 (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 representing the client tool-bar. 7 * Class representing the client tool-bar.
8 */ 8 */
9 9
10 'use strict'; 10 'use strict';
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 * @return {remoting.OptionsMenu} 64 * @return {remoting.OptionsMenu}
65 */ 65 */
66 remoting.Toolbar.prototype.createOptionsMenu = function() { 66 remoting.Toolbar.prototype.createOptionsMenu = function() {
67 return new remoting.OptionsMenu( 67 return new remoting.OptionsMenu(
68 document.getElementById('send-ctrl-alt-del'), 68 document.getElementById('send-ctrl-alt-del'),
69 document.getElementById('send-print-screen'), 69 document.getElementById('send-print-screen'),
70 document.getElementById('screen-resize-to-client'), 70 document.getElementById('screen-resize-to-client'),
71 document.getElementById('screen-shrink-to-fit'), 71 document.getElementById('screen-shrink-to-fit'),
72 document.getElementById('new-connection'), 72 document.getElementById('new-connection'),
73 document.getElementById('toggle-full-screen'), 73 document.getElementById('toggle-full-screen'),
74 null,
74 null); 75 null);
75 }; 76 };
76 77
77 /** 78 /**
78 * Preview the tool-bar functionality by showing it for 3s. 79 * Preview the tool-bar functionality by showing it for 3s.
79 * @return {void} Nothing. 80 * @return {void} Nothing.
80 */ 81 */
81 remoting.Toolbar.prototype.preview = function() { 82 remoting.Toolbar.prototype.preview = function() {
82 this.toolbar_.classList.add(remoting.Toolbar.VISIBLE_CLASS_); 83 this.toolbar_.classList.add(remoting.Toolbar.VISIBLE_CLASS_);
83 if (this.timerId_) { 84 if (this.timerId_) {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 remoting.optionsMenu.onShow(); 169 remoting.optionsMenu.onShow();
169 }; 170 };
170 171
171 /** @type {remoting.Toolbar} */ 172 /** @type {remoting.Toolbar} */
172 remoting.toolbar = null; 173 remoting.toolbar = null;
173 174
174 /** @private */ 175 /** @private */
175 remoting.Toolbar.STUB_EXTENDED_CLASS_ = 'toolbar-stub-extended'; 176 remoting.Toolbar.STUB_EXTENDED_CLASS_ = 'toolbar-stub-extended';
176 /** @private */ 177 /** @private */
177 remoting.Toolbar.VISIBLE_CLASS_ = 'toolbar-visible'; 178 remoting.Toolbar.VISIBLE_CLASS_ = 'toolbar-visible';
OLDNEW
« no previous file with comments | « remoting/webapp/crd/js/remoting.js ('k') | remoting/webapp/crd/js/ui_mode.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698