OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_EXTENSIONS_EXTENSION_ACCESSIBILITY_API_CONSTANTS_H_ | 7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_ACCESSIBILITY_API_CONSTANTS_H_ |
8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_ACCESSIBILITY_API_CONSTANTS_H_ | 8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_ACCESSIBILITY_API_CONSTANTS_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
11 namespace extension_accessibility_api_constants { | 11 namespace extension_accessibility_api_constants { |
12 | 12 |
13 // Keys. | 13 // Keys. |
14 extern const char kTypeKey[]; | 14 extern const char kTypeKey[]; |
15 extern const char kNameKey[]; | 15 extern const char kNameKey[]; |
16 extern const char kDetailsKey[]; | 16 extern const char kDetailsKey[]; |
17 extern const char kValueKey[]; | 17 extern const char kValueKey[]; |
18 extern const char kPasswordKey[]; | 18 extern const char kPasswordKey[]; |
19 extern const char kItemCountKey[]; | 19 extern const char kItemCountKey[]; |
20 extern const char kItemIndexKey[]; | 20 extern const char kItemIndexKey[]; |
21 extern const char kSelectionStartKey[]; | 21 extern const char kSelectionStartKey[]; |
22 extern const char kSelectionEndKey[]; | 22 extern const char kSelectionEndKey[]; |
23 extern const char kCheckedKey[]; | 23 extern const char kCheckedKey[]; |
24 extern const char kHasSubmenuKey[]; | 24 extern const char kHasSubmenuKey[]; |
| 25 extern const char kVolumeKey[]; |
| 26 extern const char kIsVolumeMutedKey[]; |
25 | 27 |
26 // Events. | 28 // Events. |
27 extern const char kOnWindowOpened[]; | 29 extern const char kOnWindowOpened[]; |
28 extern const char kOnWindowClosed[]; | 30 extern const char kOnWindowClosed[]; |
29 extern const char kOnControlFocused[]; | 31 extern const char kOnControlFocused[]; |
30 extern const char kOnControlAction[]; | 32 extern const char kOnControlAction[]; |
31 extern const char kOnTextChanged[]; | 33 extern const char kOnTextChanged[]; |
32 extern const char kOnMenuOpened[]; | 34 extern const char kOnMenuOpened[]; |
33 extern const char kOnMenuClosed[]; | 35 extern const char kOnMenuClosed[]; |
| 36 extern const char kOnVolumeChanged[]; |
34 | 37 |
35 // Types of controls that can receive accessibility events | 38 // Types of controls that can receive accessibility events |
36 extern const char kTypeButton[]; | 39 extern const char kTypeButton[]; |
37 extern const char kTypeCheckbox[]; | 40 extern const char kTypeCheckbox[]; |
38 extern const char kTypeComboBox[]; | 41 extern const char kTypeComboBox[]; |
39 extern const char kTypeLink[]; | 42 extern const char kTypeLink[]; |
40 extern const char kTypeListBox[]; | 43 extern const char kTypeListBox[]; |
41 extern const char kTypeMenu[]; | 44 extern const char kTypeMenu[]; |
42 extern const char kTypeMenuItem[]; | 45 extern const char kTypeMenuItem[]; |
43 extern const char kTypeRadioButton[]; | 46 extern const char kTypeRadioButton[]; |
44 extern const char kTypeTab[]; | 47 extern const char kTypeTab[]; |
45 extern const char kTypeTextBox[]; | 48 extern const char kTypeTextBox[]; |
| 49 extern const char kTypeVolume[]; |
46 extern const char kTypeWindow[]; | 50 extern const char kTypeWindow[]; |
47 | 51 |
48 }; // namespace extension_accessibility_api_constants | 52 }; // namespace extension_accessibility_api_constants |
49 | 53 |
50 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ACCESSIBILITY_API_CONSTANTS_H_ | 54 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ACCESSIBILITY_API_CONSTANTS_H_ |
OLD | NEW |