Switch TestFrameNavigationObserver to DidCommitProvisionalLoadForFrame.
[chromium-blink-merge.git] / third_party / google_input_tools / src / chrome / os / inputview / config / constants.js
blobd09f3cfae2df3b2b32cf27d7f0a56ba8994315dd
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
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.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;
25 /**
26 * The non letter keys.
28 * @const
29 * @enum {Object}
31 i18n.input.chrome.inputview.content.Constants.NON_LETTER_KEYS = {
32 BACKSPACE: {
33 'iconCssClass': i18n.input.chrome.inputview.Css.BACKSPACE_ICON,
34 'type': ElementType.BACKSPACE_KEY,
35 'id': 'Backspace'
37 ENTER: {
38 'iconCssClass': i18n.input.chrome.inputview.Css.ENTER_ICON,
39 'type': ElementType.ENTER_KEY,
40 'id': 'Enter'
42 HIDE: {
43 'iconCssClass': i18n.input.chrome.inputview.Css.HIDE_KEYBOARD_ICON,
44 'type': ElementType.HIDE_KEYBOARD_KEY,
45 'id': 'HideKeyboard'
47 LEFT_SHIFT: {
48 'toState': i18n.input.chrome.inputview.StateType.SHIFT,
49 'iconCssClass': i18n.input.chrome.inputview.Css.SHIFT_ICON,
50 'type': ElementType.MODIFIER_KEY,
51 'id': 'ShiftLeft',
52 'supportSticky': true
54 RIGHT_SHIFT: {
55 'toState': i18n.input.chrome.inputview.StateType.SHIFT,
56 'iconCssClass': i18n.input.chrome.inputview.Css.SHIFT_ICON,
57 'type': ElementType.MODIFIER_KEY,
58 'id': 'ShiftRight',
59 'supportSticky': true
61 SPACE: {
62 'name': ' ',
63 'type': ElementType.SPACE_KEY,
64 'id': 'Space'
66 SWITCHER: {
67 'type': ElementType.SWITCHER_KEY
69 MENU: {
70 'iconCssClass': i18n.input.chrome.inputview.Css.MENU_ICON,
71 'type': ElementType.MENU_KEY,
72 'id': 'Menu'
74 GLOBE: {
75 'iconCssClass': i18n.input.chrome.inputview.Css.GLOBE_ICON,
76 'type': ElementType.GLOBE_KEY,
77 'id': 'Globe'
82 /**
83 * The place holder for hint text in accents(more keys).
85 * @const
86 * @type {string}
88 i18n.input.chrome.inputview.content.Constants.HINT_TEXT_PLACE_HOLDER =
89 '%hinttext%';
91 }); // goog.scope