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

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

Issue 2607113003: Implement 5 ARIA 1.1 roles: cell, feed, figure, table, term (Closed)
Patch Set: Fix blink to Chrome enum mapping Created 3 years, 11 months 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
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 DescriptionListDetailRole, // No mapping to ARIA role. 84 DescriptionListDetailRole, // No mapping to ARIA role.
85 DescriptionListRole, // No mapping to ARIA role. 85 DescriptionListRole, // No mapping to ARIA role.
86 DescriptionListTermRole, // No mapping to ARIA role. 86 DescriptionListTermRole, // No mapping to ARIA role.
87 DetailsRole, // No mapping to ARIA role. 87 DetailsRole, // No mapping to ARIA role.
88 DialogRole, 88 DialogRole,
89 DirectoryRole, 89 DirectoryRole,
90 DisclosureTriangleRole, // No mapping to ARIA role. 90 DisclosureTriangleRole, // No mapping to ARIA role.
91 DivRole, // No mapping to ARIA role. 91 DivRole, // No mapping to ARIA role.
92 DocumentRole, 92 DocumentRole,
93 EmbeddedObjectRole, // No mapping to ARIA role. 93 EmbeddedObjectRole, // No mapping to ARIA role.
94 FigcaptionRole, // No mapping to ARIA role. 94 FeedRole,
95 FigureRole, // No mapping to ARIA role. 95 FigcaptionRole, // No mapping to ARIA role.
96 FigureRole,
96 FooterRole, 97 FooterRole,
97 FormRole, 98 FormRole,
98 GridRole, 99 GridRole,
99 GroupRole, 100 GroupRole,
100 HeadingRole, 101 HeadingRole,
101 IframePresentationalRole, // No mapping to ARIA role. 102 IframePresentationalRole, // No mapping to ARIA role.
102 IframeRole, // No mapping to ARIA role. 103 IframeRole, // No mapping to ARIA role.
103 IgnoredRole, // No mapping to ARIA role. 104 IgnoredRole, // No mapping to ARIA role.
104 ImageMapLinkRole, // No mapping to ARIA role. 105 ImageMapLinkRole, // No mapping to ARIA role.
105 ImageMapRole, // No mapping to ARIA role. 106 ImageMapRole, // No mapping to ARIA role.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 SplitterRole, 160 SplitterRole,
160 StaticTextRole, // No mapping to ARIA role. 161 StaticTextRole, // No mapping to ARIA role.
161 StatusRole, 162 StatusRole,
162 SwitchRole, 163 SwitchRole,
163 TabGroupRole, // No mapping to ARIA role. 164 TabGroupRole, // No mapping to ARIA role.
164 TabListRole, 165 TabListRole,
165 TabPanelRole, 166 TabPanelRole,
166 TabRole, 167 TabRole,
167 TableHeaderContainerRole, // No mapping to ARIA role. 168 TableHeaderContainerRole, // No mapping to ARIA role.
168 TableRole, 169 TableRole,
170 TermRole,
169 TextFieldRole, 171 TextFieldRole,
170 TimeRole, // No mapping to ARIA role. 172 TimeRole, // No mapping to ARIA role.
171 TimerRole, 173 TimerRole,
172 ToggleButtonRole, 174 ToggleButtonRole,
173 ToolbarRole, 175 ToolbarRole,
174 TreeGridRole, 176 TreeGridRole,
175 TreeItemRole, 177 TreeItemRole,
176 TreeRole, 178 TreeRole,
177 UserInterfaceTooltipRole, 179 UserInterfaceTooltipRole,
178 VideoRole, // No mapping to ARIA role. 180 VideoRole, // No mapping to ARIA role.
(...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after
1076 static unsigned s_numberOfLiveAXObjects; 1078 static unsigned s_numberOfLiveAXObjects;
1077 }; 1079 };
1078 1080
1079 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 1081 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
1080 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, \ 1082 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, \
1081 object.predicate) 1083 object.predicate)
1082 1084
1083 } // namespace blink 1085 } // namespace blink
1084 1086
1085 #endif // AXObject_h 1087 #endif // AXObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698