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

Side by Side Diff: Source/modules/accessibility/AXObject.h

Issue 757223002: Removing unused roles(7) from blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addin Created 6 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
« no previous file with comments | « no previous file | Source/modules/accessibility/AXRenderObject.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Nuanti Ltd. 3 * Copyright (C) 2008 Nuanti Ltd.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 typedef unsigned AXID; 52 typedef unsigned AXID;
53 53
54 enum AccessibilityRole { 54 enum AccessibilityRole {
55 AlertDialogRole = 1, 55 AlertDialogRole = 1,
56 AlertRole, 56 AlertRole,
57 AnnotationRole, 57 AnnotationRole,
58 ApplicationRole, 58 ApplicationRole,
59 ArticleRole, 59 ArticleRole,
60 BannerRole, 60 BannerRole,
61 BlockquoteRole, 61 BlockquoteRole,
62 BrowserRole,
63 BusyIndicatorRole, 62 BusyIndicatorRole,
64 ButtonRole, 63 ButtonRole,
65 CanvasRole, 64 CanvasRole,
66 CellRole, 65 CellRole,
67 CheckBoxRole, 66 CheckBoxRole,
68 ColorWellRole, 67 ColorWellRole,
69 ColumnHeaderRole, 68 ColumnHeaderRole,
70 ColumnRole, 69 ColumnRole,
71 ComboBoxRole, 70 ComboBoxRole,
72 ComplementaryRole, 71 ComplementaryRole,
73 ContentInfoRole, 72 ContentInfoRole,
74 DateRole, 73 DateRole,
75 DateTimeRole, 74 DateTimeRole,
76 DefinitionRole, 75 DefinitionRole,
77 DescriptionListDetailRole, 76 DescriptionListDetailRole,
78 DescriptionListRole, 77 DescriptionListRole,
79 DescriptionListTermRole, 78 DescriptionListTermRole,
80 DetailsRole, 79 DetailsRole,
81 DialogRole, 80 DialogRole,
82 DirectoryRole, 81 DirectoryRole,
83 DisclosureTriangleRole, 82 DisclosureTriangleRole,
84 DivRole, 83 DivRole,
85 DocumentRole, 84 DocumentRole,
86 DrawerRole,
87 EditableTextRole, 85 EditableTextRole,
88 EmbeddedObjectRole, 86 EmbeddedObjectRole,
89 FigcaptionRole, 87 FigcaptionRole,
90 FigureRole, 88 FigureRole,
91 FooterRole, 89 FooterRole,
92 FormRole, 90 FormRole,
93 GridRole, 91 GridRole,
94 GroupRole, 92 GroupRole,
95 GrowAreaRole, 93 GrowAreaRole,
96 HeadingRole, 94 HeadingRole,
97 HelpTagRole,
98 IframeRole, 95 IframeRole,
99 IgnoredRole, 96 IgnoredRole,
100 ImageMapLinkRole, 97 ImageMapLinkRole,
101 ImageMapRole, 98 ImageMapRole,
102 ImageRole, 99 ImageRole,
103 InlineTextBoxRole, 100 InlineTextBoxRole,
104 LabelRole, 101 LabelRole,
105 LegendRole, 102 LegendRole,
106 LinkRole, 103 LinkRole,
107 ListBoxOptionRole, 104 ListBoxOptionRole,
108 ListBoxRole, 105 ListBoxRole,
109 ListItemRole, 106 ListItemRole,
110 ListMarkerRole, 107 ListMarkerRole,
111 ListRole, 108 ListRole,
112 LogRole, 109 LogRole,
113 MainRole, 110 MainRole,
114 MarqueeRole, 111 MarqueeRole,
115 MathElementRole, 112 MathElementRole,
116 MathRole, 113 MathRole,
117 MatteRole,
118 MenuBarRole, 114 MenuBarRole,
119 MenuButtonRole, 115 MenuButtonRole,
120 MenuItemRole, 116 MenuItemRole,
121 MenuItemCheckBoxRole, 117 MenuItemCheckBoxRole,
122 MenuItemRadioRole, 118 MenuItemRadioRole,
123 MenuListOptionRole, 119 MenuListOptionRole,
124 MenuListPopupRole, 120 MenuListPopupRole,
125 MenuRole, 121 MenuRole,
126 MeterRole, 122 MeterRole,
127 NavigationRole, 123 NavigationRole,
128 NoneRole, 124 NoneRole,
129 NoteRole, 125 NoteRole,
130 OutlineRole, 126 OutlineRole,
131 ParagraphRole, 127 ParagraphRole,
132 PopUpButtonRole, 128 PopUpButtonRole,
133 PreRole, 129 PreRole,
134 PresentationalRole, 130 PresentationalRole,
135 ProgressIndicatorRole, 131 ProgressIndicatorRole,
136 RadioButtonRole, 132 RadioButtonRole,
137 RadioGroupRole, 133 RadioGroupRole,
138 RegionRole, 134 RegionRole,
139 RootWebAreaRole, 135 RootWebAreaRole,
140 RowHeaderRole, 136 RowHeaderRole,
141 RowRole, 137 RowRole,
142 RubyRole, 138 RubyRole,
143 RulerMarkerRole,
144 RulerRole, 139 RulerRole,
145 SVGRootRole, 140 SVGRootRole,
146 ScrollAreaRole, 141 ScrollAreaRole,
147 ScrollBarRole, 142 ScrollBarRole,
148 SeamlessWebAreaRole, 143 SeamlessWebAreaRole,
149 SearchRole, 144 SearchRole,
150 SheetRole,
151 SliderRole, 145 SliderRole,
152 SliderThumbRole, 146 SliderThumbRole,
153 SpinButtonPartRole, 147 SpinButtonPartRole,
154 SpinButtonRole, 148 SpinButtonRole,
155 SplitGroupRole, 149 SplitGroupRole,
156 SplitterRole, 150 SplitterRole,
157 StaticTextRole, 151 StaticTextRole,
158 StatusRole, 152 StatusRole,
159 SystemWideRole,
160 TabGroupRole, 153 TabGroupRole,
161 TabListRole, 154 TabListRole,
162 TabPanelRole, 155 TabPanelRole,
163 TabRole, 156 TabRole,
164 TableHeaderContainerRole, 157 TableHeaderContainerRole,
165 TableRole, 158 TableRole,
166 TextAreaRole, 159 TextAreaRole,
167 TextFieldRole, 160 TextFieldRole,
168 TimeRole, 161 TimeRole,
169 TimerRole, 162 TimerRole,
170 ToggleButtonRole, 163 ToggleButtonRole,
171 ToolbarRole, 164 ToolbarRole,
172 TreeGridRole, 165 TreeGridRole,
173 TreeItemRole, 166 TreeItemRole,
174 TreeRole, 167 TreeRole,
175 UnknownRole, 168 UnknownRole,
176 UserInterfaceTooltipRole, 169 UserInterfaceTooltipRole,
177 ValueIndicatorRole,
178 WebAreaRole, 170 WebAreaRole,
179 WindowRole, 171 WindowRole,
180 }; 172 };
181 173
182 enum AccessibilityTextSource { 174 enum AccessibilityTextSource {
183 AlternativeText, 175 AlternativeText,
184 ChildrenText, 176 ChildrenText,
185 SummaryText, 177 SummaryText,
186 HelpText, 178 HelpText,
187 VisibleText, 179 VisibleText,
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 // functions called here may only search up the tree (ancestors), not down. 611 // functions called here may only search up the tree (ancestors), not down.
620 void updateCachedAttributeValuesIfNeeded() const; 612 void updateCachedAttributeValuesIfNeeded() const;
621 }; 613 };
622 614
623 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 615 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
624 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate) 616 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate)
625 617
626 } // namespace blink 618 } // namespace blink
627 619
628 #endif // AXObject_h 620 #endif // AXObject_h
OLDNEW
« no previous file with comments | « no previous file | Source/modules/accessibility/AXRenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698