Switch TestFrameNavigationObserver to DidCommitProvisionalLoadForFrame.
[chromium-blink-merge.git] / third_party / google_input_tools / src / chrome / os / common.js
blobdd26b92e58b7b57ef96386da176af3464f04da4b
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
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
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');
18 /**
19 * The message keys for communicating with the native client.
21 * @enum {string}
23 i18n.input.chrome.MessageKey = {
24 APPEND: 'append',
25 APPEND_TOKENS: 'append_tokens',
26 CLEAR: 'clear',
27 COMMIT: 'commit',
28 COMMIT_MARK: '@',
29 COMMIT_POS: 'commit_pos',
30 COMMIT_WORD: 'commit_word',
31 CONTEXT: 'context',
32 CORRECTION: 'correction',
33 DELETE: 'delete',
34 ENABLE_USER_DICT: 'enable_user_dict',
35 ENTRIES: 'entries',
36 FREQUENCY: 'frequency',
37 FUZZY_PAIRS: 'fuzzy_pairs',
38 HIGHLIGHT: 'highlight',
39 HIGHLIGHT_INDEX: 'highlight_index',
40 IME: 'itc',
41 MULTI: 'multi',
42 MULTI_APPEND: 'multi_append',
43 PREDICT: 'predict',
44 REVERT: 'revert',
45 SELECT: 'select',
46 SELECT_HIGHLIGHT: 'select_highlight',
47 SOURCE: 'source',
48 TARGET: 'target',
49 UPDATE_ALL: 'update_all',
50 USER_DICT: 'user_dict'
54 /**
55 * The trigger types for committing text.
57 * @enum {number}
59 i18n.input.chrome.TriggerType = {
60 SPACE: 0,
61 RESET: 1,
62 CANDIDATE: 2,
63 SYMBOL_OR_NUMBER: 3,
64 DOUBLE_SPACE_TO_PERIOD: 4,
65 REVERT: 5,
66 VOICE: 6,
67 UNKNOWN: -1