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

Side by Side Diff: ui/keyboard/resources/layouts/symbol-altkeys.js

Issue 23905006: Adding an alternate keyset to .com (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 var symbolAltKeys = { 5 var symbolAltKeys = {
6 '1': ['\u00B9', // Superscript 1 6 '1': ['\u00B9', // Superscript 1
7 '\u00BD', // Vulgar fraction 1/2 7 '\u00BD', // Vulgar fraction 1/2
8 '\u2153', // Vulgar fraction 1/3 8 '\u2153', // Vulgar fraction 1/3
9 '\u00BC', // Vulgar fraction 1/4 9 '\u00BC', // Vulgar fraction 1/4
10 '\u215B'], // Vulgar fraction 1/8 10 '\u215B'], // Vulgar fraction 1/8
(...skipping 18 matching lines...) Expand all
29 '\\': ['/'], 29 '\\': ['/'],
30 '"': ['\u201C', // Left double quote 30 '"': ['\u201C', // Left double quote
31 '\u201D', // Right double quote 31 '\u201D', // Right double quote
32 '\u201E', // Double low-9 quotation mark 32 '\u201E', // Double low-9 quotation mark
33 '\u00AB', // Left double angle quote 33 '\u00AB', // Left double angle quote
34 '\u00BB'], // Right double angle quote 34 '\u00BB'], // Right double angle quote
35 '-': ['_'], 35 '-': ['_'],
36 '!': ['\u00A1'], // Inverted exclamation mark 36 '!': ['\u00A1'], // Inverted exclamation mark
37 '?': ['\u00BF'], // Inverted question mark 37 '?': ['\u00BF'], // Inverted question mark
38 '(': ['<', '{', '['], 38 '(': ['<', '{', '['],
39 ')': ['>', '}', ']'] 39 ')': ['>', '}', ']'],
40 '.com' : ['.net','.org','.gov']
40 }; 41 };
41 42
42 document.addEventListener('WebComponentsReady', function() { 43 document.addEventListener('WebComponentsReady', function() {
43 var altkeyMetadata = document.createElement('kb-altkey-data'); 44 var altkeyMetadata = document.createElement('kb-altkey-data');
44 altkeyMetadata.registerAltkeys(symbolAltKeys); 45 altkeyMetadata.registerAltkeys(symbolAltKeys);
45 }); 46 });
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698