Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: third_party/google_input_tools/src/chrome/os/common.js

Issue 1046933003: Updates google-input-tools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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");
13 //
14 goog.provide('i18n.input.chrome.MessageKey');
15 goog.provide('i18n.input.chrome.TriggerType');
16
17
18 /**
19 * The message keys for communicating with the native client.
20 *
21 * @enum {string}
22 */
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 FREQUENCY: 'frequency',
36 FUZZY_PAIRS: 'fuzzy_pairs',
37 HIGHLIGHT: 'highlight',
38 HIGHLIGHT_INDEX: 'highlight_index',
39 IME: 'itc',
40 MULTI: 'multi',
41 MULTI_APPEND: 'multi_append',
42 PREDICT: 'predict',
43 REVERT: 'revert',
44 SELECT: 'select',
45 SELECT_HIGHLIGHT: 'select_highlight',
46 SOURCE: 'source',
47 UPDATE_ALL: 'update_all'
48 };
49
50
51 /**
52 * The trigger types for committing text.
53 *
54 * @enum {number}
55 */
56 i18n.input.chrome.TriggerType = {
57 SPACE: 0,
58 RESET: 1,
59 CANDIDATE: 2,
60 SYMBOL_OR_NUMBER: 3,
61 DOUBLE_SPACE_TO_PERIOD: 4,
62 REVERT: 5,
63 VOICE: 6,
64 UNKNOWN: -1
65 };
OLDNEW
« no previous file with comments | « third_party/google_input_tools/inputview.gypi ('k') | third_party/google_input_tools/src/chrome/os/datasource.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698