Lines Matching refs:WebAccessibility
5 #include "webkit/glue/webaccessibility.h"
37 WebAccessibility::Role ConvertRole(WebKit::WebAccessibilityRole role) {
40 return WebAccessibility::ROLE_ANNOTATION;
42 return WebAccessibility::ROLE_APPLICATION;
44 return WebAccessibility::ROLE_ALERT;
46 return WebAccessibility::ROLE_ALERT_DIALOG;
48 return WebAccessibility::ROLE_DIALOG;
50 return WebAccessibility::ROLE_LOG;
52 return WebAccessibility::ROLE_MARQUEE;
54 return WebAccessibility::ROLE_STATUS;
56 return WebAccessibility::ROLE_TIMER;
58 return WebAccessibility::ROLE_BROWSER;
60 return WebAccessibility::ROLE_BUSY_INDICATOR;
62 return WebAccessibility::ROLE_BUTTON;
64 return WebAccessibility::ROLE_CELL;
66 return WebAccessibility::ROLE_CHECKBOX;
68 return WebAccessibility::ROLE_COLOR_WELL;
70 return WebAccessibility::ROLE_COLUMN;
72 return WebAccessibility::ROLE_COLUMN_HEADER;
74 return WebAccessibility::ROLE_COMBO_BOX;
76 return WebAccessibility::ROLE_DEFINITION_LIST_DEFINITION;
78 return WebAccessibility::ROLE_DEFINITION_LIST_TERM;
80 return WebAccessibility::ROLE_DIRECTORY;
82 return WebAccessibility::ROLE_DISCLOSURE_TRIANGLE;
84 return WebAccessibility::ROLE_DOCUMENT;
86 return WebAccessibility::ROLE_ARTICLE;
88 return WebAccessibility::ROLE_MATH;
90 return WebAccessibility::ROLE_NOTE;
92 return WebAccessibility::ROLE_REGION;
94 return WebAccessibility::ROLE_DRAWER;
96 return WebAccessibility::ROLE_EDITABLE_TEXT;
98 return WebAccessibility::ROLE_GRID;
100 return WebAccessibility::ROLE_GROUP;
102 return WebAccessibility::ROLE_GROW_AREA;
104 return WebAccessibility::ROLE_HEADING;
106 return WebAccessibility::ROLE_HELP_TAG;
108 return WebAccessibility::ROLE_IGNORED;
110 return WebAccessibility::ROLE_IMAGE;
112 return WebAccessibility::ROLE_IMAGE_MAP;
114 return WebAccessibility::ROLE_IMAGE_MAP_LINK;
116 return WebAccessibility::ROLE_INCREMENTOR;
118 return WebAccessibility::ROLE_LANDMARK_APPLICATION;
120 return WebAccessibility::ROLE_LANDMARK_BANNER;
122 return WebAccessibility::ROLE_LANDMARK_COMPLEMENTARY;
124 return WebAccessibility::ROLE_LANDMARK_CONTENTINFO;
126 return WebAccessibility::ROLE_LANDMARK_MAIN;
128 return WebAccessibility::ROLE_LANDMARK_NAVIGATION;
130 return WebAccessibility::ROLE_LANDMARK_SEARCH;
132 return WebAccessibility::ROLE_LINK;
134 return WebAccessibility::ROLE_LIST;
136 return WebAccessibility::ROLE_LISTBOX;
138 return WebAccessibility::ROLE_LISTBOX_OPTION;
140 return WebAccessibility::ROLE_LIST_ITEM;
142 return WebAccessibility::ROLE_LIST_MARKER;
144 return WebAccessibility::ROLE_MATTE;
146 return WebAccessibility::ROLE_MENU;
148 return WebAccessibility::ROLE_MENU_BAR;
150 return WebAccessibility::ROLE_MENU_BUTTON;
152 return WebAccessibility::ROLE_MENU_ITEM;
154 return WebAccessibility::ROLE_MENU_LIST_OPTION;
156 return WebAccessibility::ROLE_MENU_LIST_POPUP;
158 return WebAccessibility::ROLE_OUTLINE;
160 return WebAccessibility::ROLE_POPUP_BUTTON;
162 return WebAccessibility::ROLE_PROGRESS_INDICATOR;
164 return WebAccessibility::ROLE_RADIO_BUTTON;
166 return WebAccessibility::ROLE_RADIO_GROUP;
168 return WebAccessibility::ROLE_ROW;
170 return WebAccessibility::ROLE_ROW_HEADER;
172 return WebAccessibility::ROLE_RULER;
174 return WebAccessibility::ROLE_RULER_MARKER;
176 return WebAccessibility::ROLE_SCROLLAREA;
178 return WebAccessibility::ROLE_SCROLLBAR;
180 return WebAccessibility::ROLE_SHEET;
182 return WebAccessibility::ROLE_SLIDER;
184 return WebAccessibility::ROLE_SLIDER_THUMB;
186 return WebAccessibility::ROLE_SPLIT_GROUP;
188 return WebAccessibility::ROLE_SPLITTER;
190 return WebAccessibility::ROLE_STATIC_TEXT;
192 return WebAccessibility::ROLE_SYSTEM_WIDE;
194 return WebAccessibility::ROLE_TAB;
196 return WebAccessibility::ROLE_TAB_GROUP;
198 return WebAccessibility::ROLE_TAB_LIST;
200 return WebAccessibility::ROLE_TAB_PANEL;
202 return WebAccessibility::ROLE_TABLE;
204 return WebAccessibility::ROLE_TABLE_HEADER_CONTAINER;
206 return WebAccessibility::ROLE_TEXTAREA;
208 return WebAccessibility::ROLE_TEXT_FIELD;
210 return WebAccessibility::ROLE_TOOLBAR;
212 return WebAccessibility::ROLE_TREE_GRID;
214 return WebAccessibility::ROLE_TREE_ITEM;
216 return WebAccessibility::ROLE_TREE;
218 return WebAccessibility::ROLE_TOOLTIP;
220 return WebAccessibility::ROLE_VALUE_INDICATOR;
222 return WebAccessibility::ROLE_WEB_AREA;
224 return WebAccessibility::ROLE_WEBCORE_LINK;
226 return WebAccessibility::ROLE_WINDOW;
229 return WebAccessibility::ROLE_UNKNOWN;
236 state |= (1 << WebAccessibility::STATE_CHECKED);
239 state |= (1 << WebAccessibility::STATE_COLLAPSED);
242 state |= (1 << WebAccessibility::STATE_FOCUSABLE);
245 state |= (1 << WebAccessibility::STATE_FOCUSED);
248 state |= (1 << WebAccessibility::STATE_HASPOPUP);
251 state |= (1 << WebAccessibility::STATE_EXPANDED);
255 state |= (1 << WebAccessibility::STATE_HOTTRACKED);
258 state |= (1 << WebAccessibility::STATE_INDETERMINATE);
261 state |= (1 << WebAccessibility::STATE_INVISIBLE);
264 state |= (1 << WebAccessibility::STATE_LINKED);
267 state |= (1 << WebAccessibility::STATE_MULTISELECTABLE);
270 state |= (1 << WebAccessibility::STATE_OFFSCREEN);
273 state |= (1 << WebAccessibility::STATE_PRESSED);
276 state |= (1 << WebAccessibility::STATE_PROTECTED);
279 state |= (1 << WebAccessibility::STATE_READONLY);
282 state |= (1 << WebAccessibility::STATE_SELECTABLE);
285 state |= (1 << WebAccessibility::STATE_SELECTED);
288 state |= (1 << WebAccessibility::STATE_TRAVERSED);
291 state |= (1 << WebAccessibility::STATE_UNAVAILABLE);
296 WebAccessibility::WebAccessibility()
302 WebAccessibility::WebAccessibility(const WebKit::WebAccessibilityObject& src,
308 WebAccessibility::~WebAccessibility() {
311 void WebAccessibility::Init(const WebKit::WebAccessibilityObject& src,
365 if (role == WebAccessibility::ROLE_DOCUMENT ||
366 role == WebAccessibility::ROLE_WEB_AREA) {
420 children.push_back(WebAccessibility(child, cache, include_children));
428 bool WebAccessibility::IsParentUnignoredOf(