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

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

Issue 1022673003: Implementation of new roles added in ARIA 1.1 draft. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebasing change to latest Created 5 years, 9 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 RootWebAreaRole, // No mapping to ARIA role 136 RootWebAreaRole, // No mapping to ARIA role
137 RowHeaderRole, 137 RowHeaderRole,
138 RowRole, 138 RowRole,
139 RubyRole, // No mapping to ARIA role 139 RubyRole, // No mapping to ARIA role
140 RulerRole, // No mapping to ARIA role 140 RulerRole, // No mapping to ARIA role
141 SVGRootRole, // No mapping to ARIA role 141 SVGRootRole, // No mapping to ARIA role
142 ScrollAreaRole, // No mapping to ARIA role 142 ScrollAreaRole, // No mapping to ARIA role
143 ScrollBarRole, 143 ScrollBarRole,
144 SeamlessWebAreaRole, // No mapping to ARIA role 144 SeamlessWebAreaRole, // No mapping to ARIA role
145 SearchRole, 145 SearchRole,
146 SearchBoxRole,
146 SliderRole, 147 SliderRole,
147 SliderThumbRole, // No mapping to ARIA role 148 SliderThumbRole, // No mapping to ARIA role
148 SpinButtonPartRole, // No mapping to ARIA role 149 SpinButtonPartRole, // No mapping to ARIA role
149 SpinButtonRole, 150 SpinButtonRole,
150 SplitterRole, 151 SplitterRole,
151 StaticTextRole, // No mapping to ARIA role 152 StaticTextRole, // No mapping to ARIA role
152 StatusRole, 153 StatusRole,
154 SwitchRole,
153 TabGroupRole, // No mapping to ARIA role 155 TabGroupRole, // No mapping to ARIA role
154 TabListRole, 156 TabListRole,
155 TabPanelRole, 157 TabPanelRole,
156 TabRole, 158 TabRole,
157 TableHeaderContainerRole, // No mapping to ARIA role 159 TableHeaderContainerRole, // No mapping to ARIA role
158 TableRole, 160 TableRole,
159 TextAreaRole, 161 TextAreaRole,
160 TextFieldRole, 162 TextFieldRole,
161 TimeRole, // No mapping to ARIA role 163 TimeRole, // No mapping to ARIA role
162 TimerRole, 164 TimerRole,
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 static bool includesARIAWidgetRole(const String&); 661 static bool includesARIAWidgetRole(const String&);
660 static bool hasInteractiveARIAAttribute(const Element&); 662 static bool hasInteractiveARIAAttribute(const Element&);
661 }; 663 };
662 664
663 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 665 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
664 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate) 666 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate)
665 667
666 } // namespace blink 668 } // namespace blink
667 669
668 #endif // AXObject_h 670 #endif // AXObject_h
OLDNEW
« no previous file with comments | « Source/modules/accessibility/AXNodeObject.cpp ('k') | Source/modules/accessibility/AXObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698