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

Unified Diff: third_party/google_input_tools/src/chrome/os/inputview/util.js

Issue 701603002: Update to google-input-tools version 1.0.5.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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: third_party/google_input_tools/src/chrome/os/inputview/util.js
diff --git a/third_party/google_input_tools/src/chrome/os/inputview/util.js b/third_party/google_input_tools/src/chrome/os/inputview/util.js
index d7667ea60393154abbb6c86d7ec062a3d87c0849..db803f32953a170559664443af24a84248d92b1e 100644
--- a/third_party/google_input_tools/src/chrome/os/inputview/util.js
+++ b/third_party/google_input_tools/src/chrome/os/inputview/util.js
@@ -78,7 +78,38 @@ util.KEYSETS_USE_US = [
util.KEYSETS_HAVE_EN_SWTICHER = [
// When other keysets that use us add the enswitcher key,
// should move them to this array.
- 'pinyin-zh-CN'
+ 'array',
+ 'cangjie',
+ 'dayi',
+ 'pinyin-zh-CN',
+ 'pinyin-zh-TW',
+ 'quick',
+ 'wubi',
+ 'zhuyin'
+];
+
+
+/**
+ * The keysets that have compact keyset.
+ *
+ * @type {!Array.<string>}
+ */
+util.KEYSETS_HAVE_COMPACT = [
+ 'be',
+ 'ca',
+ 'ca-eng',
+ 'de',
+ 'dk',
+ 'fi',
+ 'fr',
+ 'gb-extd',
+ 'ie',
+ 'is',
+ 'no',
+ 'pinyin-zh-CN',
+ 'se',
+ 'us',
+ 'zhuyin'
];
@@ -185,7 +216,7 @@ util.getPropertyValue = function(elem, property) {
*/
util.toUpper = function(character) {
if (character == '\u00b5') {
- return '\u005b5';
+ return '\u00b5';
} else {
return character.toUpperCase();
}

Powered by Google App Engine
This is Rietveld 408576698