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

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

Issue 1153923007: Add a menu option for the right-hand Ctrl -> Meta mapping. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reviewer feedback. Created 5 years, 6 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/options_menu.js ('k') | remoting/webapp/crd/js/window_frame.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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 }; 61 };
62 62
63 63
64 /** 64 /**
65 * @return {remoting.OptionsMenu} 65 * @return {remoting.OptionsMenu}
66 */ 66 */
67 remoting.Toolbar.prototype.createOptionsMenu = function() { 67 remoting.Toolbar.prototype.createOptionsMenu = function() {
68 return new remoting.OptionsMenu( 68 return new remoting.OptionsMenu(
69 document.getElementById('send-ctrl-alt-del'), 69 document.getElementById('send-ctrl-alt-del'),
70 document.getElementById('send-print-screen'), 70 document.getElementById('send-print-screen'),
71 document.getElementById('map-right-ctrl-to-meta'),
71 document.getElementById('screen-resize-to-client'), 72 document.getElementById('screen-resize-to-client'),
72 document.getElementById('screen-shrink-to-fit'), 73 document.getElementById('screen-shrink-to-fit'),
73 document.getElementById('new-connection'), 74 document.getElementById('new-connection'),
74 document.getElementById('toggle-full-screen'), 75 document.getElementById('toggle-full-screen'),
75 null, 76 null,
76 null); 77 null);
77 }; 78 };
78 79
79 /** 80 /**
80 * Preview the tool-bar functionality by showing it for 3s. 81 * Preview the tool-bar functionality by showing it for 3s.
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 remoting.optionsMenu.onShow(); 171 remoting.optionsMenu.onShow();
171 }; 172 };
172 173
173 /** @type {remoting.Toolbar} */ 174 /** @type {remoting.Toolbar} */
174 remoting.toolbar = null; 175 remoting.toolbar = null;
175 176
176 /** @private */ 177 /** @private */
177 remoting.Toolbar.STUB_EXTENDED_CLASS_ = 'toolbar-stub-extended'; 178 remoting.Toolbar.STUB_EXTENDED_CLASS_ = 'toolbar-stub-extended';
178 /** @private */ 179 /** @private */
179 remoting.Toolbar.VISIBLE_CLASS_ = 'toolbar-visible'; 180 remoting.Toolbar.VISIBLE_CLASS_ = 'toolbar-visible';
OLDNEW
« no previous file with comments | « remoting/webapp/crd/js/options_menu.js ('k') | remoting/webapp/crd/js/window_frame.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698