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 25 matching lines...) Expand all Loading... |
36 ENTRIES: 'entries', | 36 ENTRIES: 'entries', |
37 FREQUENCY: 'frequency', | 37 FREQUENCY: 'frequency', |
38 FUZZY_PAIRS: 'fuzzy_pairs', | 38 FUZZY_PAIRS: 'fuzzy_pairs', |
39 KEYBOARD_LAYOUT: 'keyboard_layout', | 39 KEYBOARD_LAYOUT: 'keyboard_layout', |
40 HIGHLIGHT: 'highlight', | 40 HIGHLIGHT: 'highlight', |
41 HIGHLIGHT_INDEX: 'highlight_index', | 41 HIGHLIGHT_INDEX: 'highlight_index', |
42 IME: 'itc', | 42 IME: 'itc', |
43 MIN_SCORE: 'min_score', | 43 MIN_SCORE: 'min_score', |
44 MULTI: 'multi', | 44 MULTI: 'multi', |
45 MULTI_APPEND: 'multi_append', | 45 MULTI_APPEND: 'multi_append', |
| 46 PRECEDING_TEXT: 'preceding_text', |
46 PREDICT: 'predict', | 47 PREDICT: 'predict', |
47 REVERT: 'revert', | 48 REVERT: 'revert', |
48 SELECT: 'select', | 49 SELECT: 'select', |
49 SELECT_HIGHLIGHT: 'select_highlight', | 50 SELECT_HIGHLIGHT: 'select_highlight', |
50 SOURCE: 'source', | 51 SOURCE: 'source', |
51 TARGET: 'target', | 52 TARGET: 'target', |
52 UPDATE_ALL: 'update_all', | 53 UPDATE_ALL: 'update_all', |
53 USER_DICT: 'user_dict' | 54 USER_DICT: 'user_dict' |
54 }; | 55 }; |
55 | 56 |
56 | 57 |
57 /** | 58 /** |
58 * The trigger types for committing text. | 59 * The trigger types for committing text. |
59 * | 60 * |
60 * @enum {number} | 61 * @enum {number} |
61 */ | 62 */ |
62 i18n.input.chrome.TriggerType = { | 63 i18n.input.chrome.TriggerType = { |
63 SPACE: 0, | 64 SPACE: 0, |
64 RESET: 1, | 65 RESET: 1, |
65 CANDIDATE: 2, | 66 CANDIDATE: 2, |
66 SYMBOL_OR_NUMBER: 3, | 67 SYMBOL_OR_NUMBER: 3, |
67 DOUBLE_SPACE_TO_PERIOD: 4, | 68 DOUBLE_SPACE_TO_PERIOD: 4, |
68 REVERT: 5, | 69 REVERT: 5, |
69 VOICE: 6, | 70 VOICE: 6, |
70 COMPOSITION_DISABLED: 7, | 71 COMPOSITION_DISABLED: 7, |
71 GESTURE: 8, | 72 GESTURE: 8, |
72 UNKNOWN: -1 | 73 UNKNOWN: -1 |
73 }; | 74 }; |
OLD | NEW |