1 // Copyright 2014 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.message.Type');
22 i18n.input.chrome.message.Type = {
23 CANDIDATES_BACK: 'candidates_back',
24 COMMIT_TEXT: 'commit_text',
25 COMPLETION: 'completion',
27 CONTEXT_BLUR: 'context_blur',
28 CONTEXT_FOCUS: 'context_focus',
29 DATASOURCE_READY: 'datasource_ready',
30 DISCONNECT: 'disconnect',
31 DOUBLE_CLICK_ON_SPACE_KEY: 'double_click_on_space_key',
32 EMOJI_SET_INPUTTOOL: 'emoji_set_inputtool',
33 EMOJI_UNSET_INPUTTOOL: 'emoji_unset_inputtool',
35 HWT_NETWORK_ERROR: 'hwt_network_error',
36 HWT_PRIVACY_GOT_IT: 'hwt_privacy_got_it',
37 HWT_PRIVACY_INFO: 'hwt_privacy_info',
38 HWT_REQUEST: 'hwt_request',
39 HWT_SET_INPUTTOOL: 'hwt_set_inputtool',
40 HWT_UNSET_INPUTTOOL: 'hwt_unset_inputtool',
41 KEY_CLICK: 'key_click',
42 KEY_EVENT: 'key_event',
43 OPTION_CHANGE: 'option_change',
44 PREDICTION: 'prediction',
45 SELECT_CANDIDATE: 'select_candidate',
46 SEND_KEY_EVENT: 'send_key_event',
47 SET_COMPOSITION: 'set_composition',
48 SET_LANGUAGE: 'set_language',
49 SURROUNDING_TEXT_CHANGED: 'surrounding_text_changed',
50 SWITCH_KEYSET: 'switch_keyset',
51 TOGGLE_LANGUAGE_STATE: 'toggle_language_state',
52 UPDATE_SETTINGS: 'update_settings',
53 VISIBILITY_CHANGE: 'visibility_change'