1 // Copyright 2015 The ChromeOS IME Authors. All Rights Reserved.
2 // limitations under the License.
3 // See the License for the specific language governing permissions and
4 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5 // distributed under the License is distributed on an "AS-IS" BASIS,
6 // Unless required by applicable law or agreed to in writing, software
8 // http://www.apache.org/licenses/LICENSE-2.0
10 // You may obtain a copy of the License at
11 // you may not use this file except in compliance with the License.
12 // Licensed under the Apache License, Version 2.0 (the "License");
14 goog
.provide('i18n.input.chrome.MessageKey');
15 goog
.provide('i18n.input.chrome.TriggerType');
19 * The message keys for communicating with the native client.
23 i18n
.input
.chrome
.MessageKey
= {
25 APPEND_TOKENS
: 'append_tokens',
29 COMMIT_POS
: 'commit_pos',
30 COMMIT_WORD
: 'commit_word',
32 CORRECTION
: 'correction',
34 ENABLE_USER_DICT
: 'enable_user_dict',
36 FREQUENCY
: 'frequency',
37 FUZZY_PAIRS
: 'fuzzy_pairs',
38 HIGHLIGHT
: 'highlight',
39 HIGHLIGHT_INDEX
: 'highlight_index',
42 MULTI_APPEND
: 'multi_append',
46 SELECT_HIGHLIGHT
: 'select_highlight',
49 UPDATE_ALL
: 'update_all',
50 USER_DICT
: 'user_dict'
55 * The trigger types for committing text.
59 i18n
.input
.chrome
.TriggerType
= {
64 DOUBLE_SPACE_TO_PERIOD
: 4,