OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Constants used to for the Accessibility API. |
| 6 |
| 7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_ACCESSIBILITY_API_CONSTANTS_H_ |
| 8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_ACCESSIBILITY_API_CONSTANTS_H_ |
| 9 |
| 10 namespace extension_accessibility_api_constants { |
| 11 |
| 12 // Keys. |
| 13 extern const wchar_t kTypeKey[]; |
| 14 extern const wchar_t kNameKey[]; |
| 15 extern const wchar_t kDetailsKey[]; |
| 16 extern const wchar_t kValueKey[]; |
| 17 extern const wchar_t kPasswordKey[]; |
| 18 extern const wchar_t kItemCountKey[]; |
| 19 extern const wchar_t kItemIndexKey[]; |
| 20 extern const wchar_t kSelectionStartKey[]; |
| 21 extern const wchar_t kSelectionEndKey[]; |
| 22 extern const wchar_t kCheckedKey[]; |
| 23 |
| 24 // Events. |
| 25 extern const char kOnWindowOpened[]; |
| 26 extern const char kOnWindowClosed[]; |
| 27 extern const char kOnControlFocused[]; |
| 28 extern const char kOnControlAction[]; |
| 29 extern const char kOnTextChanged[]; |
| 30 |
| 31 // Types of controls that can receive accessibility events |
| 32 extern const char kTypeButton[]; |
| 33 extern const char kTypeCheckbox[]; |
| 34 extern const char kTypeComboBox[]; |
| 35 extern const char kTypeLink[]; |
| 36 extern const char kTypeRadioButton[]; |
| 37 extern const char kTypeTab[]; |
| 38 extern const char kTypeTextBox[]; |
| 39 extern const char kTypeWindow[]; |
| 40 |
| 41 }; // namespace extension_accessibility_api_constants |
| 42 |
| 43 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ACCESSIBILITY_API_CONSTANTS_H_ |
OLD | NEW |