| OLD | NEW |
| 1 // Copyright 2015 The ChromeOS IME Authors. All Rights Reserved. | 1 // Copyright 2015 The ChromeOS IME Authors. All Rights Reserved. |
| 2 // limitations under the License. | 2 // limitations under the License. |
| 3 // See the License for the specific language governing permissions and | 3 // See the License for the specific language governing permissions and |
| 4 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 4 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 5 // distributed under the License is distributed on an "AS-IS" BASIS, | 5 // distributed under the License is distributed on an "AS-IS" BASIS, |
| 6 // Unless required by applicable law or agreed to in writing, software | 6 // Unless required by applicable law or agreed to in writing, software |
| 7 // | 7 // |
| 8 // http://www.apache.org/licenses/LICENSE-2.0 | 8 // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 // | 9 // |
| 10 // You may obtain a copy of the License at | 10 // You may obtain a copy of the License at |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 i18n.input.chrome.MessageKey = { | 23 i18n.input.chrome.MessageKey = { |
| 24 APPEND: 'append', | 24 APPEND: 'append', |
| 25 APPEND_TOKENS: 'append_tokens', | 25 APPEND_TOKENS: 'append_tokens', |
| 26 CLEAR: 'clear', | 26 CLEAR: 'clear', |
| 27 COMMIT: 'commit', | 27 COMMIT: 'commit', |
| 28 COMMIT_MARK: '@', | 28 COMMIT_MARK: '@', |
| 29 COMMIT_POS: 'commit_pos', | 29 COMMIT_POS: 'commit_pos', |
| 30 COMMIT_WORD: 'commit_word', | 30 COMMIT_WORD: 'commit_word', |
| 31 CONTEXT: 'context', | 31 CONTEXT: 'context', |
| 32 CORRECTION: 'correction', | 32 CORRECTION: 'correction', |
| 33 DECODE_GESTURE: 'decode_gesture', |
| 33 DELETE: 'delete', | 34 DELETE: 'delete', |
| 34 ENABLE_USER_DICT: 'enable_user_dict', | 35 ENABLE_USER_DICT: 'enable_user_dict', |
| 35 ENTRIES: 'entries', | 36 ENTRIES: 'entries', |
| 36 FREQUENCY: 'frequency', | 37 FREQUENCY: 'frequency', |
| 37 FUZZY_PAIRS: 'fuzzy_pairs', | 38 FUZZY_PAIRS: 'fuzzy_pairs', |
| 39 KEYBOARD_LAYOUT: 'keyboard_layout', |
| 38 HIGHLIGHT: 'highlight', | 40 HIGHLIGHT: 'highlight', |
| 39 HIGHLIGHT_INDEX: 'highlight_index', | 41 HIGHLIGHT_INDEX: 'highlight_index', |
| 40 IME: 'itc', | 42 IME: 'itc', |
| 43 MIN_SCORE: 'min_score', |
| 41 MULTI: 'multi', | 44 MULTI: 'multi', |
| 42 MULTI_APPEND: 'multi_append', | 45 MULTI_APPEND: 'multi_append', |
| 43 PREDICT: 'predict', | 46 PREDICT: 'predict', |
| 44 REVERT: 'revert', | 47 REVERT: 'revert', |
| 45 SELECT: 'select', | 48 SELECT: 'select', |
| 46 SELECT_HIGHLIGHT: 'select_highlight', | 49 SELECT_HIGHLIGHT: 'select_highlight', |
| 47 SOURCE: 'source', | 50 SOURCE: 'source', |
| 48 TARGET: 'target', | 51 TARGET: 'target', |
| 49 UPDATE_ALL: 'update_all', | 52 UPDATE_ALL: 'update_all', |
| 50 USER_DICT: 'user_dict' | 53 USER_DICT: 'user_dict' |
| 51 }; | 54 }; |
| 52 | 55 |
| 53 | 56 |
| 54 /** | 57 /** |
| 55 * The trigger types for committing text. | 58 * The trigger types for committing text. |
| 56 * | 59 * |
| 57 * @enum {number} | 60 * @enum {number} |
| 58 */ | 61 */ |
| 59 i18n.input.chrome.TriggerType = { | 62 i18n.input.chrome.TriggerType = { |
| 60 SPACE: 0, | 63 SPACE: 0, |
| 61 RESET: 1, | 64 RESET: 1, |
| 62 CANDIDATE: 2, | 65 CANDIDATE: 2, |
| 63 SYMBOL_OR_NUMBER: 3, | 66 SYMBOL_OR_NUMBER: 3, |
| 64 DOUBLE_SPACE_TO_PERIOD: 4, | 67 DOUBLE_SPACE_TO_PERIOD: 4, |
| 65 REVERT: 5, | 68 REVERT: 5, |
| 66 VOICE: 6, | 69 VOICE: 6, |
| 70 COMPOSITION_DISABLED: 7, |
| 71 GESTURE: 8, |
| 67 UNKNOWN: -1 | 72 UNKNOWN: -1 |
| 68 }; | 73 }; |
| OLD | NEW |