chromium/third_party/google_input_tools/src/chrome/os/message/name.js

// Copyright 2014 The ChromeOS IME Authors. All Rights Reserved.
// limitations under the License.
// See the License for the specific language governing permissions and
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// distributed under the License is distributed on an "AS-IS" BASIS,
// Unless required by applicable law or agreed to in writing, software
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// You may obtain a copy of the License at
// you may not use this file except in compliance with the License.
// Licensed under the Apache License, Version 2.0 (the "License");
//
goog.provide('i18n.input.chrome.message.Name');


/**
 * The message attribute name.
 *
 * @enum {string}
 */
i18n.input.chrome.message.Name = {
  ALT_KEY: 'altKey',
  ANCHOR: 'anchor',
  AUXILIARY_TEXT: 'auxiliaryText',
  AUXILIARY_TEXT_VISIBLE: 'auxiliaryTextVisible',
  CANDIDATE: 'candidate',
  CANDIDATES: 'candidates',
  CANDIDATE_ID: 'candidateID',
  CODE: 'code',
  CONTEXT_ID: 'contextID',
  CONTEXT_TYPE: 'contextType',
  CURSOR_VISIBLE: 'cursorVisible',
  CTRL_KEY: 'ctrlKey',
  CURSOR: 'cursor',
  ENGINE_ID: 'engineID',
  FOCUS: 'focus',
  FORCE_AUTO_SPACE: 'force_auto_space',
  GESTURE_DATA: 'gestureData',
  GESTURE_RESULTS: 'gestureResults',
  HEIGHT: 'height',
  ID: 'id',
  IN_PROGRESS: 'inProgress',
  IS_AUTOCORRECT: 'isAutoCorrect',
  IS_EMOJI: 'isEmoji',
  IS_SWIPE: 'isSwipe',
  KEY: 'key',
  KEYBOARD_LAYOUT: 'keyboardLayout',
  KEYCODE: 'keyCode',
  KEYSET: 'keyset',
  KEY_DATA: 'keyData',
  LANGUAGE: 'language',
  LENGTH: 'length',
  MATCHED_LENGTHS: 'matchedLengths',
  MSG: 'msg',
  THRESHOLD: 'threshold',
  TYPE: 'type',
  OFFSET: 'offset',
  OPTION_PREFIX: 'optionPrefix',
  OPTION_TYPE: 'optionType',
  PAGE_SIZE: 'pageSize',
  POSSIBILITIES: 'possibilities',
  PROPERTIES: 'properties',
  REQUEST_ID: 'requestId',
  SCREEN: 'screen',
  SHIFT_KEY: 'shiftKey',
  SOURCE: 'source',
  SOURCES: 'sources',
  SPATIAL_DATA: 'spatialData',
  STROKES: 'strokes',
  TEXT: 'text',
  TEXT_BEFORE_CURSOR: 'text_before_cursor',
  VERTICAL: 'vertical',
  VISIBLE: 'visible',
  VISIBILITY: 'visibility',
  VOICE_STATE: 'voice_state',
  WIDTH: 'width',
  WORKSPACE_HEIGHT: 'workspace_height',
  SWITCHING: 'switching',
  VOICE_PRIVACY_INFO: 'voice_privacy_info',
  HWT_PRIVACY_INFO: 'hwt_privacy_info'
};