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

Unified Diff: trunk/src/ui/keyboard/resources/layout_us.js

Issue 14329004: Revert 194635 "Add a virtual keyboard webui at chrome://keyboard/" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/ui/keyboard/resources/index.html ('k') | trunk/src/ui/keyboard/resources/main.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ui/keyboard/resources/layout_us.js
===================================================================
--- trunk/src/ui/keyboard/resources/layout_us.js (revision 194637)
+++ trunk/src/ui/keyboard/resources/layout_us.js (working copy)
@@ -1,89 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-/**
- * @fileoverview A simple English virtual keyboard implementation.
- */
-
-/**
- * All keys for the rows of the keyboard.
- * NOTE: every row below should have an aspect of 12.6.
- * @type {Array.<Array.<BaseKey>>}
- */
-var KEYS_US = [
- [
- new Key(C('\`'), C('~')),
- new Key(C('1'), C('!')),
- new Key(C('2'), C('@')),
- new Key(C('3'), C('#')),
- new Key(C('4'), C('$')),
- new Key(C('5'), C('%')),
- new Key(C('6'), C('^')),
- new Key(C('7'), C('&')),
- new Key(C('8'), C('*')),
- new Key(C('9'), C('(')),
- new Key(C('0'), C(')')),
- new Key(C('-'), C('_')),
- new Key(C('='), C('+')),
- new SvgKey('backspace', 'Backspace', true /* repeat */)
- ],
- [
- new SvgKey('tab', 'Tab'),
- new Key(C('q'), C('Q')),
- new Key(C('w'), C('W')),
- new Key(C('e'), C('E')),
- new Key(C('r'), C('R')),
- new Key(C('t'), C('T')),
- new Key(C('y'), C('Y')),
- new Key(C('u'), C('U')),
- new Key(C('i'), C('I')),
- new Key(C('o'), C('O')),
- new Key(C('p'), C('P')),
- new Key(C('['), C('{')),
- new Key(C(']'), C('}')),
- new Key(C('\\'), C('|'), 'bar'),
- ],
- [
- new SymbolKey(),
- new Key(C('a'), C('A')),
- new Key(C('s'), C('S')),
- new Key(C('d'), C('D')),
- new Key(C('f'), C('F')),
- new Key(C('g'), C('G')),
- new Key(C('h'), C('H')),
- new Key(C('j'), C('J')),
- new Key(C('k'), C('K')),
- new Key(C('l'), C('L')),
- new Key(C(';'), C(':')),
- new Key(C('\''), C('"')),
- new SvgKey('return', 'Enter')
- ],
- [
- new ShiftKey('left-shift'),
- new Key(C('z'), C('Z')),
- new Key(C('x'), C('X')),
- new Key(C('c'), C('C')),
- new Key(C('v'), C('V')),
- new Key(C('b'), C('B')),
- new Key(C('n'), C('N')),
- new Key(C('m'), C('M')),
- new Key(C(','), C('<')),
- new Key(C('.'), C('>')),
- new Key(C('/'), C('?')),
- new ShiftKey('right-shift')
- ],
- [
- new DotComKey(),
- new SpecialKey('at', '@', '@'),
- new SpecialKey('space', ' ', 'Spacebar'),
- new SpecialKey('comma', ',', ','),
- new SpecialKey('period', '.', '.')
- ]
-];
-
-// Add layout to KEYBOARDS, which is defined in common.js
-KEYBOARDS['us'] = {
- 'definition': KEYS_US,
- 'aspect': 3.15,
-};
« no previous file with comments | « trunk/src/ui/keyboard/resources/index.html ('k') | trunk/src/ui/keyboard/resources/main.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698