| Index: third_party/google_input_tools/src/chrome/os/constant.js
|
| diff --git a/third_party/google_input_tools/src/chrome/os/sounds/sounds.js b/third_party/google_input_tools/src/chrome/os/constant.js
|
| similarity index 54%
|
| copy from third_party/google_input_tools/src/chrome/os/sounds/sounds.js
|
| copy to third_party/google_input_tools/src/chrome/os/constant.js
|
| index cef48f746aaa9d1ea1507645912a420bdde7ae03..929e8ac17bf6876aa3b9ce5b16057630d63fb13b 100644
|
| --- a/third_party/google_input_tools/src/chrome/os/sounds/sounds.js
|
| +++ b/third_party/google_input_tools/src/chrome/os/constant.js
|
| @@ -11,22 +11,36 @@
|
| // you may not use this file except in compliance with the License.
|
| // Licensed under the Apache License, Version 2.0 (the "License");
|
| //
|
| -goog.provide('i18n.input.chrome.sounds.Sounds');
|
| +goog.provide('i18n.input.chrome.Constant');
|
|
|
|
|
| /**
|
| - * The available sounds.
|
| - *
|
| - * @enum {string}
|
| + * The set of Latin valid characters .
|
| */
|
| -i18n.input.chrome.sounds.Sounds = {
|
| - DELETE: 'KeypressDelete',
|
| - RETURN: 'KeypressReturn',
|
| - SPACEBAR: 'KeypressSpacebar',
|
| - STANDARD: 'KeypressStandard',
|
| - NONE: 'none',
|
| - VOICE_RECOG_START: 'audio_initiate',
|
| - VOICE_RECOG_END: 'audio_end',
|
| - AUTO_CORRECTION: 'KeypressStandard'
|
| -};
|
| +i18n.input.chrome.Constant.LATIN_VALID_CHAR =
|
| + "[a-z\\-\\\'\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u017F]";
|
| +
|
|
|
| +/**
|
| + * Languages need to support NACL module for XKB.
|
| + *
|
| + * @type {!Array.<string>}
|
| + */
|
| +i18n.input.chrome.Constant.NACL_LANGUAGES = [
|
| + 'da',
|
| + 'de',
|
| + 'en',
|
| + 'es',
|
| + 'fi',
|
| + 'fr',
|
| + 'it',
|
| + 'nl',
|
| + // When enable "no-t-i0-und" make NACL crash, so disable it now.
|
| + // 'no',
|
| + 'pl',
|
| + 'pt',
|
| + 'pt-BR',
|
| + 'pt-PT',
|
| + 'sv',
|
| + 'tr'
|
| +];
|
|
|