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

Side by Side Diff: chrome/browser/resources/keyboard/layout_fr.js

Issue 7754019: Enable the keyboard to show the popup keyboard for inputting accented characters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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 // This file is generaged by gen_keyboard_layouts.py 5 // This file is generaged by gen_keyboard_layouts.py
6 6
7 var KEYS_FR = [ 7 var KEYS_FR = [
8 [ 8 [
9 new SvgKey('tab', 'Tab'), 9 new SvgKey("tab", "Tab"),
10 new Key(C('a'), C('A'), C('1'), C('~')), 10 new Key(C("a", "a", "fr_popup_a"), C("A", "A", "fr_popup_a"), C("1"), C("~") ),
bryeung 2011/09/08 19:22:35 Please try to stick to 80 characters.
mazda 2011/09/12 14:33:48 Done.
11 new Key(C('z'), C('Z'), C('2'), C('`')), 11 new Key(C("z"), C("Z"), C("2"), C("`")),
12 new Key(C('e'), C('E'), C('3'), C('|')), 12 new Key(C("e", "e", "fr_popup_e"), C("E", "E", "fr_popup_e"), C("3"), C("|") ),
13 new Key(C('r'), C('R'), C('4'), new Character('\u2022', 'U+2022')), 13 new Key(C("r"), C("R"), C("4"), C("\u2022", "U+2022")),
14 new Key(C('t'), C('T'), C('5'), new Character('\u221a', 'U+221A')), 14 new Key(C("t"), C("T"), C("5"), C("\u221a", "U+221A")),
15 new Key(C('y'), C('Y'), C('6'), new Character('\u03c0', 'U+03C0')), 15 new Key(C("y", "y", "fr_popup_y"), C("Y", "Y", "fr_popup_y"), C("6"), C("\u0 3c0", "U+03C0")),
16 new Key(C('u'), C('U'), C('7'), new Character('\u00f7', 'U+00F7')), 16 new Key(C("u", "u", "fr_popup_u"), C("U", "U", "fr_popup_u"), C("7"), C("\u0 0f7", "U+00F7")),
17 new Key(C('i'), C('I'), C('8'), new Character('\u00d7', 'U+00D7')), 17 new Key(C("i", "i", "fr_popup_i"), C("I", "I", "fr_popup_i"), C("8"), C("\u0 0d7", "U+00D7")),
18 new Key(C('o'), C('O'), C('9'), new Character('\u00a7', 'U+00A7')), 18 new Key(C("o", "o", "fr_popup_o"), C("O", "O", "fr_popup_o"), C("9"), C("\u0 0a7", "U+00A7")),
19 new Key(C('p'), C('P'), C('0'), new Character('\u0394', 'U+0394')), 19 new Key(C("p"), C("P"), C("0"), C("\u0394", "U+0394")),
20 new SvgKey('backspace', 'Backspace', true), 20 new SvgKey("backspace", "Backspace", true),
21 ], 21 ],
22 [ 22 [
23 new SymbolKey(), 23 new SymbolKey(),
24 new Key(C('q'), C('Q'), C('#'), new Character('\u00a3', 'U+00A3')), 24 new Key(C("q"), C("Q"), C("#"), C("\u00a3", "U+00A3")),
25 new Key(C('s'), C('S'), C('$'), new Character('\u00a2', 'U+00A2')), 25 new Key(C("s"), C("S"), C("$"), C("\u00a2", "U+00A2")),
26 new Key(C('d'), C('D'), C('%'), new Character('\u20ac', 'U+20AC')), 26 new Key(C("d"), C("D"), C("%"), C("\u20ac", "U+20AC")),
27 new Key(C('f'), C('F'), C('&'), new Character('\u00a5', 'U+00A5')), 27 new Key(C("f"), C("F"), C("&"), C("\u00a5", "U+00A5")),
28 new Key(C('g'), C('G'), C('*'), C('^')), 28 new Key(C("g"), C("G"), C("*"), C("^")),
29 new Key(C('h'), C('H'), C('-'), new Character('\u00b0', 'U+00B0')), 29 new Key(C("h"), C("H"), C("-"), C("\u00b0", "U+00B0")),
30 new Key(C('j'), C('J'), new Character('+', 'Plus'), 30 new Key(C("j"), C("J"), C("+", "Plus"), C("\u00b1", "U+00B1")),
31 new Character('\u00b1', 'U+00B1')), 31 new Key(C("k"), C("K"), C("("), C("{", "U+007B")),
32 new Key(C('k'), C('K'), C('('), new Character('{', 'U+007B')), 32 new Key(C("l"), C("L"), C(")"), C("}", "U+007D")),
33 new Key(C('l'), C('L'), C(')'), new Character('}', 'U+007D')), 33 new Key(C("m"), C("M"), null, null),
34 new Key(C('m'), C('M'), null, null), 34 new SvgKey("return", "Enter"),
35 new SvgKey('return', 'Enter'),
36 ], 35 ],
37 [ 36 [
38 new ShiftKey('left_shift'), 37 new ShiftKey("left_shift"),
39 new Key(C('w'), C('W'), C('<'), C('\\')), 38 new Key(C("w"), C("W"), C("<"), C("\\")),
40 new Key(C('x'), C('X'), C('>'), new Character('\u00a9', 'U+00A9')), 39 new Key(C("x"), C("X"), C(">"), C("\u00a9", "U+00A9")),
41 new Key(C('c'), C('C'), new Character('=', 'Equals'), 40 new Key(C("c", "c", "fr_popup_c"), C("C", "C", "fr_popup_c"), C("=", "Equals "), C("\u00ae", "U+00AE")),
42 new Character('\u00ae', 'U+00AE')), 41 new Key(C("v"), C("V"), C(":"), C("\u2122", "U+2122")),
43 new Key(C('v'), C('V'), C(':'), new Character('\u2122', 'U+2122')), 42 new Key(C("b"), C("B"), C(";"), C("\u2105", "U+2105")),
44 new Key(C('b'), C('B'), C(';'), new Character('\u2105', 'U+2105')), 43 new Key(C("n"), C("N"), C(","), C("[")),
45 new Key(C('n'), C('N'), C(','), C('[')), 44 new Key(C("'", "Apostrophe"), C(":"), C("."), C("]")),
46 new Key(new Character('\'', 'Apostrophe'), C(':'), C('.'), C(']')), 45 new Key(C(","), C("!"), C("!"), C("\u00a1", "U+00A1")),
47 new Key(C(','), C('!'), C('!'), new Character('\u00a1', 'U+00A1')), 46 new Key(C("."), C("?"), C("?"), C("\u00bf", "U+00BF")),
48 new Key(C('.'), C('?'), C('?'), new Character('\u00bf', 'U+00BF')), 47 new ShiftKey("right_shift"),
49 new ShiftKey('right_shift'),
50 ], 48 ],
51 [ 49 [
52 new SvgKey('mic', ' '), 50 new SvgKey("mic", " "),
bryeung 2011/09/08 19:22:35 Please use single quotes.
mazda 2011/09/12 14:33:48 Done.
53 new DotComKey(), 51 new DotComKey(),
54 new SpecialKey('at', '@', '@'), 52 new SpecialKey("at", "@", "@"),
55 new SpecialKey('space', ' ', 'Spacebar'), 53 new SpecialKey("space", " ", "Spacebar"),
56 new SpecialKey('comma', ',', ','), 54 new SpecialKey("comma", ",", ","),
57 new SpecialKey('period', '.', '.'), 55 new SpecialKey("period", ".", "."),
58 new HideKeyboardKey(), 56 new HideKeyboardKey(),
59 ], 57 ],
60 ]; 58 ];
61 59
62 // Add layout to KEYBOARDS, which is defined in common.js 60 // Add layout to KEYBOARDS, which is defined in common.js
63 KEYBOARDS['fr'] = { 61 KEYBOARDS['fr'] = {
64 "definition": KEYS_FR, 62 "definition": KEYS_FR,
65 "aspect": 3.15, 63 "aspect": 3.15,
66 }; 64 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698