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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/keyboard/layout_fr.js
diff --git a/chrome/browser/resources/keyboard/layout_fr.js b/chrome/browser/resources/keyboard/layout_fr.js
index 271f0b0fd30b9ba98ff19e12d53bd84e13ae47f3..997054b9039fa9aee3cc7cecb4dfbcecbabae3eb 100644
--- a/chrome/browser/resources/keyboard/layout_fr.js
+++ b/chrome/browser/resources/keyboard/layout_fr.js
@@ -6,55 +6,53 @@
var KEYS_FR = [
[
- new SvgKey('tab', 'Tab'),
- new Key(C('a'), C('A'), C('1'), C('~')),
- new Key(C('z'), C('Z'), C('2'), C('`')),
- new Key(C('e'), C('E'), C('3'), C('|')),
- new Key(C('r'), C('R'), C('4'), new Character('\u2022', 'U+2022')),
- new Key(C('t'), C('T'), C('5'), new Character('\u221a', 'U+221A')),
- new Key(C('y'), C('Y'), C('6'), new Character('\u03c0', 'U+03C0')),
- new Key(C('u'), C('U'), C('7'), new Character('\u00f7', 'U+00F7')),
- new Key(C('i'), C('I'), C('8'), new Character('\u00d7', 'U+00D7')),
- new Key(C('o'), C('O'), C('9'), new Character('\u00a7', 'U+00A7')),
- new Key(C('p'), C('P'), C('0'), new Character('\u0394', 'U+0394')),
- new SvgKey('backspace', 'Backspace', true),
+ new SvgKey("tab", "Tab"),
+ 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.
+ new Key(C("z"), C("Z"), C("2"), C("`")),
+ new Key(C("e", "e", "fr_popup_e"), C("E", "E", "fr_popup_e"), C("3"), C("|")),
+ new Key(C("r"), C("R"), C("4"), C("\u2022", "U+2022")),
+ new Key(C("t"), C("T"), C("5"), C("\u221a", "U+221A")),
+ new Key(C("y", "y", "fr_popup_y"), C("Y", "Y", "fr_popup_y"), C("6"), C("\u03c0", "U+03C0")),
+ new Key(C("u", "u", "fr_popup_u"), C("U", "U", "fr_popup_u"), C("7"), C("\u00f7", "U+00F7")),
+ new Key(C("i", "i", "fr_popup_i"), C("I", "I", "fr_popup_i"), C("8"), C("\u00d7", "U+00D7")),
+ new Key(C("o", "o", "fr_popup_o"), C("O", "O", "fr_popup_o"), C("9"), C("\u00a7", "U+00A7")),
+ new Key(C("p"), C("P"), C("0"), C("\u0394", "U+0394")),
+ new SvgKey("backspace", "Backspace", true),
],
[
new SymbolKey(),
- new Key(C('q'), C('Q'), C('#'), new Character('\u00a3', 'U+00A3')),
- new Key(C('s'), C('S'), C('$'), new Character('\u00a2', 'U+00A2')),
- new Key(C('d'), C('D'), C('%'), new Character('\u20ac', 'U+20AC')),
- new Key(C('f'), C('F'), C('&'), new Character('\u00a5', 'U+00A5')),
- new Key(C('g'), C('G'), C('*'), C('^')),
- new Key(C('h'), C('H'), C('-'), new Character('\u00b0', 'U+00B0')),
- new Key(C('j'), C('J'), new Character('+', 'Plus'),
- new Character('\u00b1', 'U+00B1')),
- new Key(C('k'), C('K'), C('('), new Character('{', 'U+007B')),
- new Key(C('l'), C('L'), C(')'), new Character('}', 'U+007D')),
- new Key(C('m'), C('M'), null, null),
- new SvgKey('return', 'Enter'),
+ new Key(C("q"), C("Q"), C("#"), C("\u00a3", "U+00A3")),
+ new Key(C("s"), C("S"), C("$"), C("\u00a2", "U+00A2")),
+ new Key(C("d"), C("D"), C("%"), C("\u20ac", "U+20AC")),
+ new Key(C("f"), C("F"), C("&"), C("\u00a5", "U+00A5")),
+ new Key(C("g"), C("G"), C("*"), C("^")),
+ new Key(C("h"), C("H"), C("-"), C("\u00b0", "U+00B0")),
+ new Key(C("j"), C("J"), C("+", "Plus"), C("\u00b1", "U+00B1")),
+ new Key(C("k"), C("K"), C("("), C("{", "U+007B")),
+ new Key(C("l"), C("L"), C(")"), C("}", "U+007D")),
+ new Key(C("m"), C("M"), null, null),
+ new SvgKey("return", "Enter"),
],
[
- new ShiftKey('left_shift'),
- new Key(C('w'), C('W'), C('<'), C('\\')),
- new Key(C('x'), C('X'), C('>'), new Character('\u00a9', 'U+00A9')),
- new Key(C('c'), C('C'), new Character('=', 'Equals'),
- new Character('\u00ae', 'U+00AE')),
- new Key(C('v'), C('V'), C(':'), new Character('\u2122', 'U+2122')),
- new Key(C('b'), C('B'), C(';'), new Character('\u2105', 'U+2105')),
- new Key(C('n'), C('N'), C(','), C('[')),
- new Key(new Character('\'', 'Apostrophe'), C(':'), C('.'), C(']')),
- new Key(C(','), C('!'), C('!'), new Character('\u00a1', 'U+00A1')),
- new Key(C('.'), C('?'), C('?'), new Character('\u00bf', 'U+00BF')),
- new ShiftKey('right_shift'),
+ new ShiftKey("left_shift"),
+ new Key(C("w"), C("W"), C("<"), C("\\")),
+ new Key(C("x"), C("X"), C(">"), C("\u00a9", "U+00A9")),
+ new Key(C("c", "c", "fr_popup_c"), C("C", "C", "fr_popup_c"), C("=", "Equals"), C("\u00ae", "U+00AE")),
+ new Key(C("v"), C("V"), C(":"), C("\u2122", "U+2122")),
+ new Key(C("b"), C("B"), C(";"), C("\u2105", "U+2105")),
+ new Key(C("n"), C("N"), C(","), C("[")),
+ new Key(C("'", "Apostrophe"), C(":"), C("."), C("]")),
+ new Key(C(","), C("!"), C("!"), C("\u00a1", "U+00A1")),
+ new Key(C("."), C("?"), C("?"), C("\u00bf", "U+00BF")),
+ new ShiftKey("right_shift"),
],
[
- new SvgKey('mic', ' '),
+ new SvgKey("mic", " "),
bryeung 2011/09/08 19:22:35 Please use single quotes.
mazda 2011/09/12 14:33:48 Done.
new DotComKey(),
- new SpecialKey('at', '@', '@'),
- new SpecialKey('space', ' ', 'Spacebar'),
- new SpecialKey('comma', ',', ','),
- new SpecialKey('period', '.', '.'),
+ new SpecialKey("at", "@", "@"),
+ new SpecialKey("space", " ", "Spacebar"),
+ new SpecialKey("comma", ",", ","),
+ new SpecialKey("period", ".", "."),
new HideKeyboardKey(),
],
];

Powered by Google App Engine
This is Rietveld 408576698