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

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

Issue 16959020: Style the extensions virtual keyboard (Closed) Base URL: http://git.chromium.org/chromium/src.git@biaospatch
Patch Set: rebase Created 7 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 | « no previous file | ui/keyboard/resources/elements/kb-key.html » ('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 /** 5 /**
6 * Aspect ratio of keyboard. 6 * Aspect ratio of keyboard.
7 * @type {number} 7 * @type {number}
8 */ 8 */
9 var ASPECT_RATIO = 4.5; 9 var ASPECT_RATIO = 4.5;
10 10
11 /** 11 /**
12 * Ratio of key height and font size. 12 * Ratio of key height and font size.
13 * @type {number} 13 * @type {number}
14 */ 14 */
15 var FONT_SIZE_RATIO = 3.5; 15 var FONT_SIZE_RATIO = 3;
16 16
17 /** 17 /**
18 * The number of rows in each keyset. 18 * The number of rows in each keyset.
19 * @type {number} 19 * @type {number}
20 */ 20 */
21 // TODO(bshe): The number of rows should equal to the number of kb-row elements 21 // TODO(bshe): The number of rows should equal to the number of kb-row elements
22 // in kb-keyset. Remove this variable once figure out how to calculate the 22 // in kb-keyset. Remove this variable once figure out how to calculate the
23 // number from keysets. 23 // number from keysets.
24 var ROW_LENGTH = 4; 24 var ROW_LENGTH = 4;
OLDNEW
« no previous file with comments | « no previous file | ui/keyboard/resources/elements/kb-key.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698