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

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

Issue 1595063002: Adds AX role for abbr tag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 * 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 { "treeitem", TreeItemRole } 128 { "treeitem", TreeItemRole }
129 }; 129 };
130 130
131 struct InternalRoleEntry { 131 struct InternalRoleEntry {
132 AccessibilityRole webcoreRole; 132 AccessibilityRole webcoreRole;
133 const char* internalRoleName; 133 const char* internalRoleName;
134 }; 134 };
135 135
136 const InternalRoleEntry internalRoles[] = { 136 const InternalRoleEntry internalRoles[] = {
137 { UnknownRole, "Unknown" }, 137 { UnknownRole, "Unknown" },
138 { AbbrRole, "Abbr" },
138 { AlertDialogRole, "AlertDialog" }, 139 { AlertDialogRole, "AlertDialog" },
139 { AlertRole, "Alert" }, 140 { AlertRole, "Alert" },
140 { AnnotationRole, "Annotation" }, 141 { AnnotationRole, "Annotation" },
141 { ApplicationRole, "Application" }, 142 { ApplicationRole, "Application" },
142 { ArticleRole, "Article" }, 143 { ArticleRole, "Article" },
143 { BannerRole, "Banner" }, 144 { BannerRole, "Banner" },
144 { BlockquoteRole, "Blockquote" }, 145 { BlockquoteRole, "Blockquote" },
145 // TODO(nektar): Delete busy_indicator role. It's used nowhere. 146 // TODO(nektar): Delete busy_indicator role. It's used nowhere.
146 { BusyIndicatorRole, "BusyIndicator" }, 147 { BusyIndicatorRole, "BusyIndicator" },
147 { ButtonRole, "Button" }, 148 { ButtonRole, "Button" },
(...skipping 1554 matching lines...) Expand 10 before | Expand all | Expand 10 after
1702 1703
1703 DEFINE_TRACE(AXObject) 1704 DEFINE_TRACE(AXObject)
1704 { 1705 {
1705 visitor->trace(m_children); 1706 visitor->trace(m_children);
1706 visitor->trace(m_parent); 1707 visitor->trace(m_parent);
1707 visitor->trace(m_cachedLiveRegionRoot); 1708 visitor->trace(m_cachedLiveRegionRoot);
1708 visitor->trace(m_axObjectCache); 1709 visitor->trace(m_axObjectCache);
1709 } 1710 }
1710 1711
1711 } // namespace blink 1712 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXObject.h ('k') | third_party/WebKit/Source/web/AssertMatchingEnums.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698