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

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

Issue 208633002: [Code cleanup]Remove webui virtual keyboard code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « ui/keyboard/resources/webui/api_adapter.js ('k') | ui/keyboard/resources/webui/main.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5
6 /**
7 * Aspect ratio of keyboard.
8 * @type {number}
9 */
10 var ASPECT_RATIO = 2.0;
11
12 /**
13 * Ratio of key height and font size.
14 * @type {number}
15 */
16 var FONT_SIZE_RATIO = 2;
17
18 /**
19 * The number of rows in each keyset.
20 * @type {number}
21 */
22 // TODO(bshe): The number of rows should equal to the number of kb-row elements
23 // in kb-keyset. Remove this variable once figure out how to calculate the
24 // number from keysets.
25
26 var ROW_LENGTH = 4;
OLDNEW
« no previous file with comments | « ui/keyboard/resources/webui/api_adapter.js ('k') | ui/keyboard/resources/webui/main.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698