Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Side by Side Diff: chrome/browser/accessibility/accessibility_extension_api_constants.h

Issue 79543010: Added basic accessibility to TreeView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 kDetailsKey[]; 16 extern const char kDetailsKey[];
17 extern const char kValueKey[]; 17 extern const char kValueKey[];
18 extern const char kChildrenCountKey[];
18 extern const char kPasswordKey[]; 19 extern const char kPasswordKey[];
19 extern const char kItemCountKey[]; 20 extern const char kItemCountKey[];
21 extern const char kItemDepthKey[];
20 extern const char kItemIndexKey[]; 22 extern const char kItemIndexKey[];
23 extern const char kItemExpandedKey[];
21 extern const char kSelectionStartKey[]; 24 extern const char kSelectionStartKey[];
22 extern const char kSelectionEndKey[]; 25 extern const char kSelectionEndKey[];
23 extern const char kCheckedKey[]; 26 extern const char kCheckedKey[];
24 extern const char kHasSubmenuKey[]; 27 extern const char kHasSubmenuKey[];
25 extern const char kMessageKey[]; 28 extern const char kMessageKey[];
26 extern const char kStringValueKey[]; 29 extern const char kStringValueKey[];
27 30
28 // Events. 31 // Events.
29 extern const char kOnWindowOpened[]; 32 extern const char kOnWindowOpened[];
30 extern const char kOnWindowClosed[]; 33 extern const char kOnWindowClosed[];
31 extern const char kOnControlFocused[]; 34 extern const char kOnControlFocused[];
32 extern const char kOnControlAction[]; 35 extern const char kOnControlAction[];
33 extern const char kOnTextChanged[]; 36 extern const char kOnTextChanged[];
34 extern const char kOnMenuOpened[]; 37 extern const char kOnMenuOpened[];
35 extern const char kOnMenuClosed[]; 38 extern const char kOnMenuClosed[];
36 39
37 // Types of controls that can receive accessibility events. 40 // Types of controls that can receive accessibility events.
38 extern const char kTypeAlert[]; 41 extern const char kTypeAlert[];
39 extern const char kTypeButton[]; 42 extern const char kTypeButton[];
40 extern const char kTypeCheckbox[]; 43 extern const char kTypeCheckbox[];
41 extern const char kTypeComboBox[]; 44 extern const char kTypeComboBox[];
42 extern const char kTypeLink[]; 45 extern const char kTypeLink[];
43 extern const char kTypeListBox[]; 46 extern const char kTypeListBox[];
44 extern const char kTypeMenu[]; 47 extern const char kTypeMenu[];
45 extern const char kTypeMenuItem[]; 48 extern const char kTypeMenuItem[];
46 extern const char kTypeRadioButton[]; 49 extern const char kTypeRadioButton[];
47 extern const char kTypeSlider[]; 50 extern const char kTypeSlider[];
48 extern const char kTypeTab[]; 51 extern const char kTypeTab[];
49 extern const char kTypeTextBox[]; 52 extern const char kTypeTextBox[];
53 extern const char kTypeTree[];
54 extern const char kTypeTreeItem[];
50 extern const char kTypeVolume[]; 55 extern const char kTypeVolume[];
51 extern const char kTypeWindow[]; 56 extern const char kTypeWindow[];
52 57
53 }; // namespace extension_accessibility_api_constants 58 }; // namespace extension_accessibility_api_constants
54 59
55 #endif // CHROME_BROWSER_ACCESSIBILITY_ACCESSIBILITY_EXTENSION_API_CONSTANTS_H_ 60 #endif // CHROME_BROWSER_ACCESSIBILITY_ACCESSIBILITY_EXTENSION_API_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698