| OLD | NEW |
| 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 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 const char* ariaRole; | 61 const char* ariaRole; |
| 62 AccessibilityRole webcoreRole; | 62 AccessibilityRole webcoreRole; |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 const RoleEntry roles[] = {{"alert", AlertRole}, | 65 const RoleEntry roles[] = {{"alert", AlertRole}, |
| 66 {"alertdialog", AlertDialogRole}, | 66 {"alertdialog", AlertDialogRole}, |
| 67 {"application", ApplicationRole}, | 67 {"application", ApplicationRole}, |
| 68 {"article", ArticleRole}, | 68 {"article", ArticleRole}, |
| 69 {"banner", BannerRole}, | 69 {"banner", BannerRole}, |
| 70 {"button", ButtonRole}, | 70 {"button", ButtonRole}, |
| 71 {"cell", CellRole}, |
| 71 {"checkbox", CheckBoxRole}, | 72 {"checkbox", CheckBoxRole}, |
| 72 {"columnheader", ColumnHeaderRole}, | 73 {"columnheader", ColumnHeaderRole}, |
| 73 {"combobox", ComboBoxRole}, | 74 {"combobox", ComboBoxRole}, |
| 74 {"complementary", ComplementaryRole}, | 75 {"complementary", ComplementaryRole}, |
| 75 {"contentinfo", ContentInfoRole}, | 76 {"contentinfo", ContentInfoRole}, |
| 76 {"definition", DefinitionRole}, | 77 {"definition", DefinitionRole}, |
| 77 {"dialog", DialogRole}, | 78 {"dialog", DialogRole}, |
| 78 {"directory", DirectoryRole}, | 79 {"directory", DirectoryRole}, |
| 79 {"document", DocumentRole}, | 80 {"document", DocumentRole}, |
| 81 {"feed", FeedRole}, |
| 82 {"figure", FigureRole}, |
| 80 {"form", FormRole}, | 83 {"form", FormRole}, |
| 81 {"grid", GridRole}, | 84 {"grid", GridRole}, |
| 82 {"gridcell", CellRole}, | 85 {"gridcell", CellRole}, |
| 83 {"group", GroupRole}, | 86 {"group", GroupRole}, |
| 84 {"heading", HeadingRole}, | 87 {"heading", HeadingRole}, |
| 85 {"img", ImageRole}, | 88 {"img", ImageRole}, |
| 86 {"link", LinkRole}, | 89 {"link", LinkRole}, |
| 87 {"list", ListRole}, | 90 {"list", ListRole}, |
| 88 {"listbox", ListBoxRole}, | 91 {"listbox", ListBoxRole}, |
| 89 {"listitem", ListItemRole}, | 92 {"listitem", ListItemRole}, |
| (...skipping 19 matching lines...) Expand all Loading... |
| 109 {"rowheader", RowHeaderRole}, | 112 {"rowheader", RowHeaderRole}, |
| 110 {"scrollbar", ScrollBarRole}, | 113 {"scrollbar", ScrollBarRole}, |
| 111 {"search", SearchRole}, | 114 {"search", SearchRole}, |
| 112 {"searchbox", SearchBoxRole}, | 115 {"searchbox", SearchBoxRole}, |
| 113 {"separator", SplitterRole}, | 116 {"separator", SplitterRole}, |
| 114 {"slider", SliderRole}, | 117 {"slider", SliderRole}, |
| 115 {"spinbutton", SpinButtonRole}, | 118 {"spinbutton", SpinButtonRole}, |
| 116 {"status", StatusRole}, | 119 {"status", StatusRole}, |
| 117 {"switch", SwitchRole}, | 120 {"switch", SwitchRole}, |
| 118 {"tab", TabRole}, | 121 {"tab", TabRole}, |
| 122 {"table", TableRole}, |
| 119 {"tablist", TabListRole}, | 123 {"tablist", TabListRole}, |
| 120 {"tabpanel", TabPanelRole}, | 124 {"tabpanel", TabPanelRole}, |
| 125 {"term", TermRole}, |
| 121 {"text", StaticTextRole}, | 126 {"text", StaticTextRole}, |
| 122 {"textbox", TextFieldRole}, | 127 {"textbox", TextFieldRole}, |
| 123 {"timer", TimerRole}, | 128 {"timer", TimerRole}, |
| 124 {"toolbar", ToolbarRole}, | 129 {"toolbar", ToolbarRole}, |
| 125 {"tooltip", UserInterfaceTooltipRole}, | 130 {"tooltip", UserInterfaceTooltipRole}, |
| 126 {"tree", TreeRole}, | 131 {"tree", TreeRole}, |
| 127 {"treegrid", TreeGridRole}, | 132 {"treegrid", TreeGridRole}, |
| 128 {"treeitem", TreeItemRole}}; | 133 {"treeitem", TreeItemRole}}; |
| 129 | 134 |
| 130 struct InternalRoleEntry { | 135 struct InternalRoleEntry { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 {DescriptionListDetailRole, "DescriptionListDetail"}, | 167 {DescriptionListDetailRole, "DescriptionListDetail"}, |
| 163 {DescriptionListRole, "DescriptionList"}, | 168 {DescriptionListRole, "DescriptionList"}, |
| 164 {DescriptionListTermRole, "DescriptionListTerm"}, | 169 {DescriptionListTermRole, "DescriptionListTerm"}, |
| 165 {DetailsRole, "Details"}, | 170 {DetailsRole, "Details"}, |
| 166 {DialogRole, "Dialog"}, | 171 {DialogRole, "Dialog"}, |
| 167 {DirectoryRole, "Directory"}, | 172 {DirectoryRole, "Directory"}, |
| 168 {DisclosureTriangleRole, "DisclosureTriangle"}, | 173 {DisclosureTriangleRole, "DisclosureTriangle"}, |
| 169 {DivRole, "Div"}, | 174 {DivRole, "Div"}, |
| 170 {DocumentRole, "Document"}, | 175 {DocumentRole, "Document"}, |
| 171 {EmbeddedObjectRole, "EmbeddedObject"}, | 176 {EmbeddedObjectRole, "EmbeddedObject"}, |
| 177 {FeedRole, "feed"}, |
| 172 {FigcaptionRole, "Figcaption"}, | 178 {FigcaptionRole, "Figcaption"}, |
| 173 {FigureRole, "Figure"}, | 179 {FigureRole, "Figure"}, |
| 174 {FooterRole, "Footer"}, | 180 {FooterRole, "Footer"}, |
| 175 {FormRole, "Form"}, | 181 {FormRole, "Form"}, |
| 176 {GridRole, "Grid"}, | 182 {GridRole, "Grid"}, |
| 177 {GroupRole, "Group"}, | 183 {GroupRole, "Group"}, |
| 178 {HeadingRole, "Heading"}, | 184 {HeadingRole, "Heading"}, |
| 179 {IframePresentationalRole, "IframePresentational"}, | 185 {IframePresentationalRole, "IframePresentational"}, |
| 180 {IframeRole, "Iframe"}, | 186 {IframeRole, "Iframe"}, |
| 181 {IgnoredRole, "Ignored"}, | 187 {IgnoredRole, "Ignored"}, |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 {SplitterRole, "Splitter"}, | 243 {SplitterRole, "Splitter"}, |
| 238 {StaticTextRole, "StaticText"}, | 244 {StaticTextRole, "StaticText"}, |
| 239 {StatusRole, "Status"}, | 245 {StatusRole, "Status"}, |
| 240 {SwitchRole, "Switch"}, | 246 {SwitchRole, "Switch"}, |
| 241 {TabGroupRole, "TabGroup"}, | 247 {TabGroupRole, "TabGroup"}, |
| 242 {TabListRole, "TabList"}, | 248 {TabListRole, "TabList"}, |
| 243 {TabPanelRole, "TabPanel"}, | 249 {TabPanelRole, "TabPanel"}, |
| 244 {TabRole, "Tab"}, | 250 {TabRole, "Tab"}, |
| 245 {TableHeaderContainerRole, "TableHeaderContainer"}, | 251 {TableHeaderContainerRole, "TableHeaderContainer"}, |
| 246 {TableRole, "Table"}, | 252 {TableRole, "Table"}, |
| 253 {TermRole, "Term"}, |
| 247 {TextFieldRole, "TextField"}, | 254 {TextFieldRole, "TextField"}, |
| 248 {TimeRole, "Time"}, | 255 {TimeRole, "Time"}, |
| 249 {TimerRole, "Timer"}, | 256 {TimerRole, "Timer"}, |
| 250 {ToggleButtonRole, "ToggleButton"}, | 257 {ToggleButtonRole, "ToggleButton"}, |
| 251 {ToolbarRole, "Toolbar"}, | 258 {ToolbarRole, "Toolbar"}, |
| 252 {TreeGridRole, "TreeGrid"}, | 259 {TreeGridRole, "TreeGrid"}, |
| 253 {TreeItemRole, "TreeItem"}, | 260 {TreeItemRole, "TreeItem"}, |
| 254 {TreeRole, "Tree"}, | 261 {TreeRole, "Tree"}, |
| 255 {UserInterfaceTooltipRole, "UserInterfaceTooltip"}, | 262 {UserInterfaceTooltipRole, "UserInterfaceTooltip"}, |
| 256 {VideoRole, "Video"}, | 263 {VideoRole, "Video"}, |
| (...skipping 1481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1738 } | 1745 } |
| 1739 | 1746 |
| 1740 DEFINE_TRACE(AXObject) { | 1747 DEFINE_TRACE(AXObject) { |
| 1741 visitor->trace(m_children); | 1748 visitor->trace(m_children); |
| 1742 visitor->trace(m_parent); | 1749 visitor->trace(m_parent); |
| 1743 visitor->trace(m_cachedLiveRegionRoot); | 1750 visitor->trace(m_cachedLiveRegionRoot); |
| 1744 visitor->trace(m_axObjectCache); | 1751 visitor->trace(m_axObjectCache); |
| 1745 } | 1752 } |
| 1746 | 1753 |
| 1747 } // namespace blink | 1754 } // namespace blink |
| OLD | NEW |