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

Side by Side Diff: ui/keyboard/resources/constants.js

Issue 259183003: Disable sounds in the virtual keyboard. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
« no previous file with comments | « no previous file | ui/keyboard/resources/elements/kb-keyboard.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 var RowAlignment = { 5 var RowAlignment = {
6 STRETCH: "stretch", 6 STRETCH: "stretch",
7 LEFT: "left", 7 LEFT: "left",
8 RIGHT: "right", 8 RIGHT: "right",
9 CENTER: "center", 9 CENTER: "center",
10 } 10 }
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 */ 104 */
105 var RESIZE_THRESHOLD = 20; 105 var RESIZE_THRESHOLD = 20;
106 106
107 /** 107 /**
108 * The size of the pool to use for playing audio sounds on key press. This is to 108 * The size of the pool to use for playing audio sounds on key press. This is to
109 * enable the same sound to be overlayed, for example, when a repeat key is 109 * enable the same sound to be overlayed, for example, when a repeat key is
110 * pressed. 110 * pressed.
111 * @type {number} 111 * @type {number}
112 */ 112 */
113 var SOUND_POOL_SIZE = 10; 113 var SOUND_POOL_SIZE = 10;
114
115 /**
116 * Whether or not to enable sounds on key press.
117 * @type {boolean}
118 */
119 var SOUND_ENABLED = false;
OLDNEW
« no previous file with comments | « no previous file | ui/keyboard/resources/elements/kb-keyboard.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698