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.inputview.content.Constants');
16 goog.require('i18n.input.chrome.inputview.Css');
17 goog.require('i18n.input.chrome.inputview.StateType');
18 goog.require('i18n.input.chrome.inputview.elements.ElementType');
20 goog.scope(function() {
22 var ElementType = i18n.input.chrome.inputview.elements.ElementType;
26 * The non letter keys.
31 i18n.input.chrome.inputview.content.Constants.NON_LETTER_KEYS = {
33 'iconCssClass': i18n.input.chrome.inputview.Css.BACKSPACE_ICON,
34 'type': ElementType.BACKSPACE_KEY,
38 'iconCssClass': i18n.input.chrome.inputview.Css.ENTER_ICON,
39 'type': ElementType.ENTER_KEY,
43 'iconCssClass': i18n.input.chrome.inputview.Css.HIDE_KEYBOARD_ICON,
44 'type': ElementType.HIDE_KEYBOARD_KEY,
48 'toState': i18n.input.chrome.inputview.StateType.SHIFT,
49 'iconCssClass': i18n.input.chrome.inputview.Css.SHIFT_ICON,
50 'type': ElementType.MODIFIER_KEY,
55 'toState': i18n.input.chrome.inputview.StateType.SHIFT,
56 'iconCssClass': i18n.input.chrome.inputview.Css.SHIFT_ICON,
57 'type': ElementType.MODIFIER_KEY,
63 'type': ElementType.SPACE_KEY,
67 'type': ElementType.SWITCHER_KEY
70 'iconCssClass': i18n.input.chrome.inputview.Css.MENU_ICON,
71 'type': ElementType.MENU_KEY,
75 'iconCssClass': i18n.input.chrome.inputview.Css.GLOBE_ICON,
76 'type': ElementType.GLOBE_KEY,
83 * The place holder for hint text in accents(more keys).
88 i18n.input.chrome.inputview.content.Constants.HINT_TEXT_PLACE_HOLDER =