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

Unified Diff: chrome/browser/resources/keyboard/layout_us.js

Issue 10399046: Remove virtual keyboard support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: final rebase Created 8 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: chrome/browser/resources/keyboard/layout_us.js
diff --git a/chrome/browser/resources/keyboard/layout_us.js b/chrome/browser/resources/keyboard/layout_us.js
deleted file mode 100644
index 5bb446df6e56b84a539c870c1b1c6af0f1d065e0..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/keyboard/layout_us.js
+++ /dev/null
@@ -1,75 +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 SvgKey('tab', 'Tab'),
- new Key(CP('q'), CP('Q'), CP('1'), CP('`')),
- new Key(CP('w'), CP('W'), CP('2'), CP('~')),
- new Key(CP('e'), CP('E'), CP('3'), CP('<', 'LessThan')),
- new Key(CP('r'), CP('R'), CP('4'), CP('>', 'GreaterThan')),
- new Key(CP('t'), CP('T'), CP('5'), CP('[')),
- new Key(CP('y'), CP('Y'), CP('6'), CP(']')),
- new Key(CP('u'), CP('U'), CP('7'), CP('{')),
- new Key(CP('i'), CP('I'), CP('8'), CP('}')),
- new Key(CP('o'), CP('O'), CP('9'), CP('\'')),
- new Key(CP('p'), CP('P'), CP('0'), CP('|')),
- new SvgKey('backspace', 'Backspace', true /* repeat */)
- ],
- [
- new SymbolKey(),
- new Key(CP('a'), CP('A'), CP('!'), CP('+')),
- new Key(CP('s'), CP('S'), CP('@'), CP('=')),
- new Key(CP('d'), CP('D'), CP('#'), CP(' ')),
- new Key(CP('f'), CP('F'), CP('$'), CP(' ')),
- new Key(CP('g'), CP('G'), CP('%'), CP(' ')),
- new Key(CP('h'), CP('H'), CP('^'), CP(' ')),
- new Key(CP('j'), CP('J'), CP('&', 'Ampersand'), CP(' ')),
- new Key(CP('k'), CP('K'), CP('*'), CP('#')),
- new Key(CP('l'), CP('L'), CP('('), CP(' ')),
- new Key(CP('\''), CP('\''), CP(')'), CP(' ')),
- new SvgKey('return', 'Enter')
- ],
- [
- new ShiftKey('left_shift'),
- new Key(CP('z'), CP('Z'), CP('/'), CP(' ')),
- new Key(CP('x'), CP('X'), CP('-'), CP(' ')),
- new Key(CP('c'), CP('C'), CP('\''), CP(' ')),
- new Key(CP('v'), CP('V'), CP('"'), CP(' ')),
- new Key(CP('b'), CP('B'), CP(':'), CP('.')),
- new Key(CP('n'), CP('N'), CP(';'), CP(' ')),
- new Key(CP('m'), CP('M'), CP('_'), CP(' ')),
- new Key(CP('!'), CP('!'), CP('{'), CP(' ')),
- new Key(CP('?'), CP('?'), CP('}'), CP(' ')),
- new Key(CP('/'), CP('/'), CP('\\'), CP(' ')),
- new ShiftKey()
- ],
- [
- new SvgKey('mic', ''),
- new DotComKey(),
- new SpecialKey('at', '@', '@'),
- // TODO(bryeung): the spacebar needs to be a little bit more stretchy,
- // since this row has only 7 keys (as opposed to 12), the truncation
- // can cause it to not be wide enough.
- new SpecialKey('space', ' ', 'Spacebar'),
- new SpecialKey('comma', ',', ','),
- new SpecialKey('period', '.', '.'),
- new HideKeyboardKey()
- ]
-];
-
-// Add layout to KEYBOARDS, which is defined in common.js
-KEYBOARDS['us'] = {
- "definition": KEYS_US,
- "aspect": 3.15,
-}
« no previous file with comments | « chrome/browser/resources/keyboard/layout_handwriting_vk.js ('k') | chrome/browser/resources/keyboard/main.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698