Upstream version 5.34.92.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / accessibility / accessibility_extension_api_constants.h
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
10 namespace extension_accessibility_api_constants {
11
12 // Keys.
13 extern const char kTypeKey[];
14 extern const char kNameKey[];
15 extern const char kContextKey[];
16 extern const char kDetailsKey[];
17 extern const char kValueKey[];
18 extern const char kChildrenCountKey[];
19 extern const char kPasswordKey[];
20 extern const char kItemCountKey[];
21 extern const char kItemDepthKey[];
22 extern const char kItemIndexKey[];
23 extern const char kItemExpandedKey[];
24 extern const char kSelectionStartKey[];
25 extern const char kSelectionEndKey[];
26 extern const char kCheckedKey[];
27 extern const char kHasSubmenuKey[];
28 extern const char kMessageKey[];
29 extern const char kStringValueKey[];
30
31 // Events.
32 extern const char kOnWindowOpened[];
33 extern const char kOnWindowClosed[];
34 extern const char kOnControlFocused[];
35 extern const char kOnControlAction[];
36 extern const char kOnTextChanged[];
37 extern const char kOnMenuOpened[];
38 extern const char kOnMenuClosed[];
39
40 // Types of controls that can receive accessibility events.
41 extern const char kTypeAlert[];
42 extern const char kTypeButton[];
43 extern const char kTypeCheckbox[];
44 extern const char kTypeComboBox[];
45 extern const char kTypeLink[];
46 extern const char kTypeListBox[];
47 extern const char kTypeMenu[];
48 extern const char kTypeMenuItem[];
49 extern const char kTypeRadioButton[];
50 extern const char kTypeSlider[];
51 extern const char kTypeTab[];
52 extern const char kTypeTextBox[];
53 extern const char kTypeTree[];
54 extern const char kTypeTreeItem[];
55 extern const char kTypeVolume[];
56 extern const char kTypeWindow[];
57
58 };  // namespace extension_accessibility_api_constants
59
60 #endif  // CHROME_BROWSER_ACCESSIBILITY_ACCESSIBILITY_EXTENSION_API_CONSTANTS_H_