OLD | NEW |
1 // Copyright 2014 The ChromeOS IME Authors. All Rights Reserved. | 1 // Copyright 2014 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 |
11 // you may not use this file except in compliance with the License. | 11 // you may not use this file except in compliance with the License. |
12 // Licensed under the Apache License, Version 2.0 (the "License"); | 12 // Licensed under the Apache License, Version 2.0 (the "License"); |
13 // | 13 // |
14 goog.provide('i18n.input.chrome.inputview.SpecNodeName'); | 14 goog.provide('i18n.input.chrome.inputview.SpecNodeName'); |
15 | 15 |
16 | 16 |
17 /** | 17 /** |
18 * The node name in the specification. | 18 * The node name in the specification. |
19 * | 19 * |
20 * @enum {string} | 20 * @enum {string} |
21 */ | 21 */ |
22 i18n.input.chrome.inputview.SpecNodeName = { | 22 i18n.input.chrome.inputview.SpecNodeName = { |
23 ALIGN: 'align', | 23 ALIGN: 'align', |
24 CHARACTERS: 'characters', | 24 CHARACTERS: 'characters', |
25 CHILDREN: 'children', | 25 CHILDREN: 'children', |
26 CONDITION: 'condition', | 26 CONDITION: 'condition', |
27 DIRECTION: 'direction', | 27 DIRECTION: 'direction', |
28 GIVE_WEIGHT_TO: 'giveWeightTo', | 28 GIVE_WEIGHT_TO: 'giveWeightTo', |
29 HAS_ALTGR_KEY: 'hasAltGrKey', | 29 HAS_ALTGR_KEY: 'hasAltGrKey', |
30 HAS_COMPACT_KEYBOARD: 'hasCompactKeyboard', | |
31 HEIGHT: 'height', | 30 HEIGHT: 'height', |
32 HEIGHT_IN_WEIGHT: 'heightInWeight', | 31 HEIGHT_IN_WEIGHT: 'heightInWeight', |
33 HEIGHT_PERCENT: 'heightPercent', | 32 HEIGHT_PERCENT: 'heightPercent', |
34 HINT_TEXT: 'hintText', | 33 HINT_TEXT: 'hintText', |
35 ICON_CSS_CLASS: 'iconCssClass', | 34 ICON_CSS_CLASS: 'iconCssClass', |
36 ID: 'id', | 35 ID: 'id', |
37 IS_GREY: 'isGrey', | 36 IS_GREY: 'isGrey', |
38 LAYOUT: 'layout', | 37 LAYOUT: 'layout', |
39 LAYOUT_ID: 'layoutID', | 38 LAYOUT_ID: 'layoutID', |
40 HEIGHT_PERCENT_OF_WIDTH: 'heightPercentOfWidth', | 39 HEIGHT_PERCENT_OF_WIDTH: 'heightPercentOfWidth', |
(...skipping 17 matching lines...) Expand all Loading... |
58 TEXT_CSS_CLASS: 'textCssClass', | 57 TEXT_CSS_CLASS: 'textCssClass', |
59 TITLE: 'title', | 58 TITLE: 'title', |
60 TYPE: 'type', | 59 TYPE: 'type', |
61 TO_STATE: 'toState', | 60 TO_STATE: 'toState', |
62 TO_KEYSET: 'toKeyset', | 61 TO_KEYSET: 'toKeyset', |
63 TO_KEYSET_NAME: 'toKeysetName', | 62 TO_KEYSET_NAME: 'toKeysetName', |
64 WIDTH: 'width', | 63 WIDTH: 'width', |
65 WIDTH_IN_WEIGHT: 'widthInWeight', | 64 WIDTH_IN_WEIGHT: 'widthInWeight', |
66 WIDTH_PERCENT: 'widthPercent', | 65 WIDTH_PERCENT: 'widthPercent', |
67 IS_EMOTICON: 'isEmoticon', | 66 IS_EMOTICON: 'isEmoticon', |
68 MORE_KEYS_SHIFT_OPERATION: 'moreKeysShiftOperation' | 67 MORE_KEYS_SHIFT_OPERATION: 'moreKeysShiftOperation', |
| 68 ON_SHIFT: 'onShift' |
69 }; | 69 }; |
70 | 70 |
OLD | NEW |