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.content.Constants'); | 14 goog.provide('i18n.input.chrome.inputview.content.Constants'); |
15 | 15 |
| 16 goog.require('i18n.input.chrome.ElementType'); |
16 goog.require('i18n.input.chrome.inputview.Css'); | 17 goog.require('i18n.input.chrome.inputview.Css'); |
17 goog.require('i18n.input.chrome.inputview.StateType'); | 18 goog.require('i18n.input.chrome.inputview.StateType'); |
18 goog.require('i18n.input.chrome.inputview.elements.ElementType'); | |
19 | 19 |
20 goog.scope(function() { | 20 goog.scope(function() { |
21 | 21 |
22 var ElementType = i18n.input.chrome.inputview.elements.ElementType; | 22 var ElementType = i18n.input.chrome.ElementType; |
23 | 23 |
24 | 24 |
25 /** | 25 /** |
26 * The non letter keys. | 26 * The non letter keys. |
27 * | 27 * |
28 * @const | 28 * @const |
29 * @enum {Object} | 29 * @enum {Object} |
30 */ | 30 */ |
31 i18n.input.chrome.inputview.content.Constants.NON_LETTER_KEYS = { | 31 i18n.input.chrome.inputview.content.Constants.NON_LETTER_KEYS = { |
32 BACKSPACE: { | 32 BACKSPACE: { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 }, | 68 }, |
69 MENU: { | 69 MENU: { |
70 'iconCssClass': i18n.input.chrome.inputview.Css.MENU_ICON, | 70 'iconCssClass': i18n.input.chrome.inputview.Css.MENU_ICON, |
71 'type': ElementType.MENU_KEY, | 71 'type': ElementType.MENU_KEY, |
72 'id': 'Menu' | 72 'id': 'Menu' |
73 }, | 73 }, |
74 GLOBE: { | 74 GLOBE: { |
75 'iconCssClass': i18n.input.chrome.inputview.Css.GLOBE_ICON, | 75 'iconCssClass': i18n.input.chrome.inputview.Css.GLOBE_ICON, |
76 'type': ElementType.GLOBE_KEY, | 76 'type': ElementType.GLOBE_KEY, |
77 'id': 'Globe' | 77 'id': 'Globe' |
| 78 }, |
| 79 HOTROD_SWITCHER: { |
| 80 'iconCssClass': i18n.input.chrome.inputview.Css.BACK_TO_KEYBOARD_ICON, |
| 81 'type': ElementType.HOTROD_SWITCHER_KEY, |
| 82 'id': 'HotrodSwitch' |
78 } | 83 } |
79 }; | 84 }; |
80 | 85 |
81 | 86 |
82 /** | 87 /** |
83 * The place holder for hint text in accents(more keys). | 88 * The place holder for hint text in accents(more keys). |
84 * | 89 * |
85 * @const | 90 * @const |
86 * @type {string} | 91 * @type {string} |
87 */ | 92 */ |
88 i18n.input.chrome.inputview.content.Constants.HINT_TEXT_PLACE_HOLDER = | 93 i18n.input.chrome.inputview.content.Constants.HINT_TEXT_PLACE_HOLDER = |
89 '%hinttext%'; | 94 '%hinttext%'; |
90 | 95 |
91 }); // goog.scope | 96 }); // goog.scope |
OLD | NEW |