1// Copyright (c) 2012 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5// Constants used to for the Accessibility API. 6 7#ifndef CHROME_BROWSER_ACCESSIBILITY_ACCESSIBILITY_EXTENSION_API_CONSTANTS_H_ 8#define CHROME_BROWSER_ACCESSIBILITY_ACCESSIBILITY_EXTENSION_API_CONSTANTS_H_ 9 10namespace extension_accessibility_api_constants { 11 12// Keys. 13extern const char kTypeKey[]; 14extern const char kNameKey[]; 15extern const char kContextKey[]; 16extern const char kValueKey[]; 17extern const char kChildrenCountKey[]; 18extern const char kPasswordKey[]; 19extern const char kItemCountKey[]; 20extern const char kItemDepthKey[]; 21extern const char kItemIndexKey[]; 22extern const char kItemExpandedKey[]; 23extern const char kSelectionStartKey[]; 24extern const char kSelectionEndKey[]; 25extern const char kCheckedKey[]; 26extern const char kHasSubmenuKey[]; 27extern const char kMessageKey[]; 28extern const char kStringValueKey[]; 29extern const char kBoundsKey[]; 30 31// Types of controls that can receive accessibility events. 32extern const char kTypeAlert[]; 33extern const char kTypeButton[]; 34extern const char kTypeCheckbox[]; 35extern const char kTypeComboBox[]; 36extern const char kTypeLink[]; 37extern const char kTypeListBox[]; 38extern const char kTypeMenu[]; 39extern const char kTypeMenuItem[]; 40extern const char kTypeRadioButton[]; 41extern const char kTypeSlider[]; 42extern const char kTypeStaticText[]; 43extern const char kTypeTab[]; 44extern const char kTypeTextBox[]; 45extern const char kTypeTree[]; 46extern const char kTypeTreeItem[]; 47extern const char kTypeVolume[]; 48extern const char kTypeWindow[]; 49 50// ScreenRect fields. 51extern const char kLeft[]; 52extern const char kTop[]; 53extern const char kWidth[]; 54extern const char kHeight[]; 55 56// Errors. 57extern const char kErrorNotSupported[]; 58 59}; // namespace extension_accessibility_api_constants 60 61#endif // CHROME_BROWSER_ACCESSIBILITY_ACCESSIBILITY_EXTENSION_API_CONSTANTS_H_ 62