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

Unified Diff: ui/keyboard/resources/webui/layout_us.js

Issue 15176004: Web Component Virtual Keyboard (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: ui/keyboard/resources/webui/layout_us.js
diff --git a/ui/keyboard/resources/webui/layout_us.js b/ui/keyboard/resources/webui/layout_us.js
deleted file mode 100644
index 6c9565cdbef9646f9293bc6d809fda069cb9c140..0000000000000000000000000000000000000000
--- a/ui/keyboard/resources/webui/layout_us.js
+++ /dev/null
@@ -1,64 +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('q'), C('Q'), C('1'), C('`')),
- new Key(C('w'), C('W'), C('2'), C('~')),
- new Key(C('e'), C('E'), C('3'), C('<', 'LessThan')),
- new Key(C('r'), C('R'), C('4'), C('>', 'GreaterThan')),
- new Key(C('t'), C('T'), C('5'), C('[')),
- new Key(C('y'), C('Y'), C('6'), C(']')),
- new Key(C('u'), C('U'), C('7'), C('{')),
- new Key(C('i'), C('I'), C('8'), C('}')),
- new Key(C('o'), C('O'), C('9'), C('\'')),
- new Key(C('p'), C('P'), C('0'), C('|')),
- ],
- [
- new SvgKey('tab', 'Tab'),
- new Key(C('a'), C('A'), C('!'), C('+')),
- new Key(C('s'), C('S'), C('@'), C('=')),
- new Key(C('d'), C('D'), C('#'), C(' ')),
- new Key(C('f'), C('F'), C('$'), C(' ')),
- new Key(C('g'), C('G'), C('%'), C(' ')),
- new Key(C('h'), C('H'), C('^'), C(' ')),
- new Key(C('j'), C('J'), C('&', 'Ampersand'), C(' ')),
- new Key(C('k'), C('K'), C('*'), C('#')),
- new Key(C('l'), C('L'), C('('), C(' ')),
- ],
- [
- new ShiftKey('left_shift'),
- new Key(C('z'), C('Z'), C('/'), C(' ')),
- new Key(C('x'), C('X'), C('-'), C(' ')),
- new Key(C('c'), C('C'), C('\''), C(' ')),
- new Key(C('v'), C('V'), C('"'), C(' ')),
- new Key(C('b'), C('B'), C(':'), C('.')),
- new Key(C('n'), C('N'), C(';'), C(' ')),
- new Key(C('m'), C('M'), C('_'), C(' ')),
- new SvgKey('backspace', 'Backspace', true /* repeat */)
- ],
- [
- new MicKey(),
- new SymbolKey(),
- new SpecialKey('comma', ',', ','),
- new SpecialKey('space', ' ', 'Spacebar'),
- new SpecialKey('period', '.', '.'),
- new SvgKey('return', 'Enter')
- ]
-];
-
-// Add layout to KEYBOARDS, which is defined in common.js
-KEYBOARDS['us'] = {
- 'definition': KEYS_US,
- 'aspect': 2.00,
-};

Powered by Google App Engine
This is Rietveld 408576698