Lines Matching refs:WebAccessibility
13 using webkit_glue::WebAccessibility;
205 WebAccessibility::ATTR_SHORTCUT, def_action);
220 return target->GetAttributeAsBstr(WebAccessibility::ATTR_DESCRIPTION, desc);
256 return target->GetAttributeAsBstr(WebAccessibility::ATTR_HELP, help);
271 return target->GetAttributeAsBstr(WebAccessibility::ATTR_SHORTCUT, acc_key);
497 return GetAttributeAsBstr(WebAccessibility::ATTR_DESCRIPTION, desc);
551 if (role_ == WebAccessibility::ROLE_TEXT_FIELD) {
567 if (role_ == WebAccessibility::ROLE_TEXT_FIELD) {
569 if (GetAttributeAsInt(WebAccessibility::ATTR_TEXT_SEL_START, &sel_start)) {
588 if (role_ == WebAccessibility::ROLE_TEXT_FIELD) {
591 if (GetAttributeAsInt(WebAccessibility::ATTR_TEXT_SEL_START, &sel_start) &&
592 GetAttributeAsInt(WebAccessibility::ATTR_TEXT_SEL_END, &sel_end) &&
614 if (role_ == WebAccessibility::ROLE_TEXT_FIELD) {
617 if (GetAttributeAsInt(WebAccessibility::ATTR_TEXT_SEL_START, &sel_start) &&
618 GetAttributeAsInt(WebAccessibility::ATTR_TEXT_SEL_END, &sel_end)) {
759 return GetAttributeAsBstr(WebAccessibility::ATTR_DOC_URL, url);
769 return GetAttributeAsBstr(WebAccessibility::ATTR_DOC_TITLE, title);
779 return GetAttributeAsBstr(WebAccessibility::ATTR_DOC_MIMETYPE, mime_type);
789 return GetAttributeAsBstr(WebAccessibility::ATTR_DOC_DOCTYPE, doc_type);
812 if (GetAttribute(WebAccessibility::ATTR_HTML_TAG, &tag))
902 !HasAttribute(WebAccessibility::ATTR_DISPLAY)) {
908 GetAttribute(WebAccessibility::ATTR_DISPLAY, &display);
934 GetAttribute(WebAccessibility::ATTR_DISPLAY, &display);
1131 if (role_ == WebAccessibility::ROLE_HEADING && role_name_.size() == 2 &&
1138 if (GetAttribute(WebAccessibility::ATTR_DISPLAY, &display))
1142 if (role_ == WebAccessibility::ROLE_STATIC_TEXT && name_.empty())
1148 if (name_.empty() && HasAttribute(WebAccessibility::ATTR_DESCRIPTION))
1149 GetAttribute(WebAccessibility::ATTR_DESCRIPTION, &name_);
1181 WebAccessibility::Attribute attribute, BSTR* value_bstr) {
1201 if (role_ == WebAccessibility::ROLE_TEXT_FIELD) {
1282 if ((state_ >> WebAccessibility::STATE_CHECKED) & 1)
1284 if ((state_ >> WebAccessibility::STATE_COLLAPSED) & 1)
1286 if ((state_ >> WebAccessibility::STATE_EXPANDED) & 1)
1288 if ((state_ >> WebAccessibility::STATE_FOCUSABLE) & 1)
1290 if ((state_ >> WebAccessibility::STATE_HASPOPUP) & 1)
1292 if ((state_ >> WebAccessibility::STATE_HOTTRACKED) & 1)
1294 if ((state_ >> WebAccessibility::STATE_INDETERMINATE) & 1)
1296 if ((state_ >> WebAccessibility::STATE_INVISIBLE) & 1)
1298 if ((state_ >> WebAccessibility::STATE_LINKED) & 1)
1300 if ((state_ >> WebAccessibility::STATE_MULTISELECTABLE) & 1)
1303 if ((state_ >> WebAccessibility::STATE_OFFSCREEN) & 1)
1305 if ((state_ >> WebAccessibility::STATE_PRESSED) & 1)
1307 if ((state_ >> WebAccessibility::STATE_PROTECTED) & 1)
1309 if ((state_ >> WebAccessibility::STATE_SELECTABLE) & 1)
1311 if ((state_ >> WebAccessibility::STATE_SELECTED) & 1)
1313 if ((state_ >> WebAccessibility::STATE_READONLY) & 1)
1315 if ((state_ >> WebAccessibility::STATE_TRAVERSED) & 1)
1317 if ((state_ >> WebAccessibility::STATE_BUSY) & 1)
1319 if ((state_ >> WebAccessibility::STATE_UNAVAILABLE) & 1)
1323 GetAttribute(WebAccessibility::ATTR_HTML_TAG, &html_tag);
1327 case WebAccessibility::ROLE_ALERT:
1328 case WebAccessibility::ROLE_ALERT_DIALOG:
1331 case WebAccessibility::ROLE_APPLICATION:
1334 case WebAccessibility::ROLE_ARTICLE:
1338 case WebAccessibility::ROLE_BUSY_INDICATOR:
1341 case WebAccessibility::ROLE_BUTTON:
1344 case WebAccessibility::ROLE_CELL:
1347 case WebAccessibility::ROLE_CHECKBOX:
1350 case WebAccessibility::ROLE_COLOR_WELL:
1354 case WebAccessibility::ROLE_COLUMN:
1357 case WebAccessibility::ROLE_COLUMN_HEADER:
1360 case WebAccessibility::ROLE_COMBO_BOX:
1363 case WebAccessibility::ROLE_DEFINITION_LIST_DEFINITION:
1367 case WebAccessibility::ROLE_DEFINITION_LIST_TERM:
1370 case WebAccessibility::ROLE_DIALOG:
1373 case WebAccessibility::ROLE_DISCLOSURE_TRIANGLE:
1376 case WebAccessibility::ROLE_DOCUMENT:
1377 case WebAccessibility::ROLE_WEB_AREA:
1382 case WebAccessibility::ROLE_EDITABLE_TEXT:
1387 case WebAccessibility::ROLE_GRID:
1390 case WebAccessibility::ROLE_GROUP:
1401 case WebAccessibility::ROLE_GROW_AREA:
1404 case WebAccessibility::ROLE_HEADING:
1408 case WebAccessibility::ROLE_IMAGE:
1411 case WebAccessibility::ROLE_IMAGE_MAP:
1415 case WebAccessibility::ROLE_IMAGE_MAP_LINK:
1419 case WebAccessibility::ROLE_LANDMARK_APPLICATION:
1420 case WebAccessibility::ROLE_LANDMARK_BANNER:
1421 case WebAccessibility::ROLE_LANDMARK_COMPLEMENTARY:
1422 case WebAccessibility::ROLE_LANDMARK_CONTENTINFO:
1423 case WebAccessibility::ROLE_LANDMARK_MAIN:
1424 case WebAccessibility::ROLE_LANDMARK_NAVIGATION:
1425 case WebAccessibility::ROLE_LANDMARK_SEARCH:
1429 case WebAccessibility::ROLE_LINK:
1430 case WebAccessibility::ROLE_WEBCORE_LINK:
1434 case WebAccessibility::ROLE_LIST:
1437 case WebAccessibility::ROLE_LISTBOX:
1440 case WebAccessibility::ROLE_LISTBOX_OPTION:
1441 case WebAccessibility::ROLE_LIST_ITEM:
1442 case WebAccessibility::ROLE_LIST_MARKER:
1445 case WebAccessibility::ROLE_MATH:
1448 case WebAccessibility::ROLE_MENU:
1449 case WebAccessibility::ROLE_MENU_BUTTON:
1452 case WebAccessibility::ROLE_MENU_BAR:
1455 case WebAccessibility::ROLE_MENU_ITEM:
1456 case WebAccessibility::ROLE_MENU_LIST_OPTION:
1459 case WebAccessibility::ROLE_MENU_LIST_POPUP:
1462 case WebAccessibility::ROLE_NOTE:
1466 case WebAccessibility::ROLE_OUTLINE:
1469 case WebAccessibility::ROLE_POPUP_BUTTON:
1472 case WebAccessibility::ROLE_PROGRESS_INDICATOR:
1475 case WebAccessibility::ROLE_RADIO_BUTTON:
1478 case WebAccessibility::ROLE_RADIO_GROUP:
1482 case WebAccessibility::ROLE_REGION:
1486 case WebAccessibility::ROLE_ROW:
1489 case WebAccessibility::ROLE_ROW_HEADER:
1492 case WebAccessibility::ROLE_RULER:
1496 case WebAccessibility::ROLE_SCROLLAREA:
1500 case WebAccessibility::ROLE_SCROLLBAR:
1503 case WebAccessibility::ROLE_SLIDER:
1506 case WebAccessibility::ROLE_SPLIT_GROUP:
1510 case WebAccessibility::ROLE_ANNOTATION:
1511 case WebAccessibility::ROLE_STATIC_TEXT:
1514 case WebAccessibility::ROLE_STATUS:
1517 case WebAccessibility::ROLE_SPLITTER:
1520 case WebAccessibility::ROLE_TAB:
1523 case WebAccessibility::ROLE_TABLE:
1526 case WebAccessibility::ROLE_TABLE_HEADER_CONTAINER:
1530 case WebAccessibility::ROLE_TAB_GROUP:
1531 case WebAccessibility::ROLE_TAB_LIST:
1532 case WebAccessibility::ROLE_TAB_PANEL:
1535 case WebAccessibility::ROLE_TEXTAREA:
1540 case WebAccessibility::ROLE_TEXT_FIELD:
1545 case WebAccessibility::ROLE_TIMER:
1548 case WebAccessibility::ROLE_TOOLBAR:
1551 case WebAccessibility::ROLE_TOOLTIP:
1554 case WebAccessibility::ROLE_TREE:
1557 case WebAccessibility::ROLE_TREE_GRID:
1560 case WebAccessibility::ROLE_TREE_ITEM:
1563 case WebAccessibility::ROLE_WINDOW:
1568 case WebAccessibility::ROLE_BROWSER:
1569 case WebAccessibility::ROLE_DIRECTORY:
1570 case WebAccessibility::ROLE_DRAWER:
1571 case WebAccessibility::ROLE_HELP_TAG:
1572 case WebAccessibility::ROLE_IGNORED:
1573 case WebAccessibility::ROLE_INCREMENTOR:
1574 case WebAccessibility::ROLE_LOG:
1575 case WebAccessibility::ROLE_MARQUEE:
1576 case WebAccessibility::ROLE_MATTE:
1577 case WebAccessibility::ROLE_RULER_MARKER:
1578 case WebAccessibility::ROLE_SHEET:
1579 case WebAccessibility::ROLE_SLIDER_THUMB:
1580 case WebAccessibility::ROLE_SYSTEM_WIDE:
1581 case WebAccessibility::ROLE_VALUE_INDICATOR: