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