Home
last modified time | relevance | path

Searched refs:WebAccessibility (Results 1 – 19 of 19) sorted by relevance

/external/chromium/webkit/glue/
Dwebaccessibility.cc37 WebAccessibility::Role ConvertRole(WebKit::WebAccessibilityRole role) { in ConvertRole()
40 return WebAccessibility::ROLE_ANNOTATION; in ConvertRole()
42 return WebAccessibility::ROLE_APPLICATION; in ConvertRole()
44 return WebAccessibility::ROLE_ALERT; in ConvertRole()
46 return WebAccessibility::ROLE_ALERT_DIALOG; in ConvertRole()
48 return WebAccessibility::ROLE_DIALOG; in ConvertRole()
50 return WebAccessibility::ROLE_LOG; in ConvertRole()
52 return WebAccessibility::ROLE_MARQUEE; in ConvertRole()
54 return WebAccessibility::ROLE_STATUS; in ConvertRole()
56 return WebAccessibility::ROLE_TIMER; in ConvertRole()
[all …]
Dwebaccessibility.h24 struct WebAccessibility { struct
184 WebAccessibility();
189 WebAccessibility(const WebKit::WebAccessibilityObject& src,
193 ~WebAccessibility();
218 std::vector<WebAccessibility> children; argument
/external/chromium/chrome/browser/accessibility/
Drenderer_accessibility_browsertest.cc25 using webkit_glue::WebAccessibility;
35 const WebAccessibility& GetWebAccessibilityTree() { in GetWebAccessibilityTree()
49 const WebAccessibility& node, base::hash_set<int>* ids) { in RecursiveAssertUniqueIds()
61 std::string GetAttr(const WebAccessibility& node,
62 const WebAccessibility::Attribute attr);
85 const WebAccessibility& node, const WebAccessibility::Attribute attr) { in GetAttr()
104 const WebAccessibility& tree = GetWebAccessibilityTree(); in IN_PROC_BROWSER_TEST_F()
107 EXPECT_STREQ(url_str, GetAttr(tree, WebAccessibility::ATTR_DOC_URL).c_str()); in IN_PROC_BROWSER_TEST_F()
110 GetAttr(tree, WebAccessibility::ATTR_DOC_TITLE).c_str()); in IN_PROC_BROWSER_TEST_F()
112 "html", GetAttr(tree, WebAccessibility::ATTR_DOC_DOCTYPE).c_str()); in IN_PROC_BROWSER_TEST_F()
[all …]
Dbrowser_accessibility_win.cc13 using webkit_glue::WebAccessibility;
205 WebAccessibility::ATTR_SHORTCUT, def_action); in get_accDefaultAction()
220 return target->GetAttributeAsBstr(WebAccessibility::ATTR_DESCRIPTION, desc); in get_accDescription()
256 return target->GetAttributeAsBstr(WebAccessibility::ATTR_HELP, help); in get_accHelp()
271 return target->GetAttributeAsBstr(WebAccessibility::ATTR_SHORTCUT, acc_key); in get_accKeyboardShortcut()
497 return GetAttributeAsBstr(WebAccessibility::ATTR_DESCRIPTION, desc); in get_description()
551 if (role_ == WebAccessibility::ROLE_TEXT_FIELD) { in get_nCharacters()
567 if (role_ == WebAccessibility::ROLE_TEXT_FIELD) { in get_caretOffset()
569 if (GetAttributeAsInt(WebAccessibility::ATTR_TEXT_SEL_START, &sel_start)) { in get_caretOffset()
588 if (role_ == WebAccessibility::ROLE_TEXT_FIELD) { in get_nSelections()
[all …]
Dbrowser_accessibility_manager_unittest.cc13 using webkit_glue::WebAccessibility;
60 WebAccessibility button; in TEST()
63 button.role = WebAccessibility::ROLE_BUTTON; in TEST()
66 WebAccessibility checkbox; in TEST()
69 checkbox.role = WebAccessibility::ROLE_CHECKBOX; in TEST()
72 WebAccessibility root; in TEST()
75 root.role = WebAccessibility::ROLE_DOCUMENT; in TEST()
138 WebAccessibility tree1_child1; in TEST()
141 tree1_child1.role = WebAccessibility::ROLE_BUTTON; in TEST()
144 WebAccessibility tree1_child2; in TEST()
[all …]
Dbrowser_accessibility_manager.h24 using webkit_glue::WebAccessibility;
52 const WebAccessibility& src,
111 const WebAccessibility& src,
117 const WebAccessibility& acc_obj);
119 const WebAccessibility& acc_obj);
121 const WebAccessibility& acc_obj);
123 const WebAccessibility& acc_obj);
125 const WebAccessibility& acc_obj);
127 const WebAccessibility& acc_obj);
135 const WebAccessibility& src,
[all …]
Dbrowser_accessibility_cocoa.mm18 // Returns an autoreleased copy of the WebAccessibility's attribute.
21 WebAccessibility::Attribute attribute) {
32 WebAccessibility::Role value;
37 { WebAccessibility::ROLE_NONE, NSAccessibilityUnknownRole },
38 { WebAccessibility::ROLE_BUTTON, NSAccessibilityButtonRole },
39 { WebAccessibility::ROLE_CHECKBOX, NSAccessibilityCheckBoxRole },
40 { WebAccessibility::ROLE_COLUMN, NSAccessibilityColumnRole },
41 { WebAccessibility::ROLE_GRID, NSAccessibilityGridRole },
42 { WebAccessibility::ROLE_GROUP, NSAccessibilityGroupRole },
43 { WebAccessibility::ROLE_HEADING, @"AXHeading" },
[all …]
Dbrowser_accessibility_win_unittest.cc12 using webkit_glue::WebAccessibility;
74 WebAccessibility button; in TEST_F()
77 button.role = WebAccessibility::ROLE_BUTTON; in TEST_F()
80 WebAccessibility checkbox; in TEST_F()
83 checkbox.role = WebAccessibility::ROLE_CHECKBOX; in TEST_F()
86 WebAccessibility root; in TEST_F()
89 root.role = WebAccessibility::ROLE_DOCUMENT; in TEST_F()
150 WebAccessibility text; in TEST_F()
152 text.role = WebAccessibility::ROLE_STATIC_TEXT; in TEST_F()
156 WebAccessibility root; in TEST_F()
[all …]
Dbrowser_accessibility_manager.cc11 using webkit_glue::WebAccessibility;
30 const WebAccessibility& src, in Create()
40 const WebAccessibility& src, in BrowserAccessibilityManager()
132 const WebAccessibility& acc_obj) { in OnAccessibilityObjectStateChange()
144 const WebAccessibility& acc_obj) { in OnAccessibilityObjectChildrenChange()
156 const WebAccessibility& acc_obj) { in OnAccessibilityObjectFocusChange()
174 const WebAccessibility& acc_obj) { in OnAccessibilityObjectLoadComplete()
191 const WebAccessibility& acc_obj) { in OnAccessibilityObjectValueChange()
203 const WebAccessibility& acc_obj) { in OnAccessibilityObjectTextChange()
262 const WebAccessibility& src, in UpdateNode()
[all …]
Dbrowser_accessibility_mac_unittest.mm49 WebAccessibility root;
52 root.role = WebAccessibility::ROLE_WEB_AREA;
53 root.attributes[WebAccessibility::ATTR_HELP] = ASCIIToUTF16("HelpText");
55 WebAccessibility child1;
59 child1.role = WebAccessibility::ROLE_BUTTON;
61 WebAccessibility child2;
65 child2.role = WebAccessibility::ROLE_HEADING;
Dbrowser_accessibility.h24 using webkit_glue::WebAccessibility;
62 const WebAccessibility& src);
165 bool HasAttribute(WebAccessibility::Attribute attribute);
169 bool GetAttribute(WebAccessibility::Attribute attribute, string16* value);
176 WebAccessibility::Attribute attribute, int* value_int);
Dbrowser_accessibility.cc48 const webkit_glue::WebAccessibility& src) { in Initialize()
136 WebAccessibility::ATTR_DOC_SCROLLX, &scroll_x); in GetBoundsRect()
138 WebAccessibility::ATTR_DOC_SCROLLY, &scroll_y); in GetBoundsRect()
185 WebAccessibility::Attribute attribute) { in HasAttribute()
190 WebAccessibility::Attribute attribute, string16* value) { in GetAttribute()
201 WebAccessibility::Attribute attribute, int* value_int) { in GetAttributeAsInt()
Dbrowser_accessibility_manager_win.cc10 using webkit_glue::WebAccessibility;
15 const WebAccessibility& src, in Create()
32 const WebAccessibility& src, in BrowserAccessibilityManagerWin()
Dbrowser_accessibility_manager_win.h18 using webkit_glue::WebAccessibility;
35 const WebAccessibility& src,
Dbrowser_accessibility_manager_mac.mm14 const WebAccessibility& src,
23 const webkit_glue::WebAccessibility& src,
Dbrowser_accessibility_manager_mac.h24 const webkit_glue::WebAccessibility& src,
Dbrowser_accessibility_win.h24 using webkit_glue::WebAccessibility;
464 WebAccessibility::Attribute attribute, BSTR* value_bstr);
/external/chromium/chrome/browser/renderer_host/
Drender_widget_host_view_win.cc1444 webkit_glue::WebAccessibility empty_document; in OnAccessibilityNotifications()
1445 empty_document.role = WebAccessibility::ROLE_DOCUMENT; in OnAccessibilityNotifications()
1629 webkit_glue::WebAccessibility loading_tree; in OnGetObject()
1630 loading_tree.role = WebAccessibility::ROLE_DOCUMENT; in OnGetObject()
1631 loading_tree.state = (1 << WebAccessibility::STATE_BUSY); in OnGetObject()
Drender_widget_host_view_mac.mm975 webkit_glue::WebAccessibility empty_document;
976 empty_document.role = WebAccessibility::ROLE_WEB_AREA;