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

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

Issue 653683005: Add MarkRole in blink side to expose mark tag properly (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: reland Created 5 years, 6 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
« no previous file with comments | « Source/modules/accessibility/AXObject.h ('k') | Source/web/AssertMatchingEnums.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 { LabelRole, "Label" }, 184 { LabelRole, "Label" },
185 { LegendRole, "Legend" }, 185 { LegendRole, "Legend" },
186 { LinkRole, "Link" }, 186 { LinkRole, "Link" },
187 { ListBoxOptionRole, "ListBoxOption" }, 187 { ListBoxOptionRole, "ListBoxOption" },
188 { ListBoxRole, "ListBox" }, 188 { ListBoxRole, "ListBox" },
189 { ListItemRole, "ListItem" }, 189 { ListItemRole, "ListItem" },
190 { ListMarkerRole, "ListMarker" }, 190 { ListMarkerRole, "ListMarker" },
191 { ListRole, "List" }, 191 { ListRole, "List" },
192 { LogRole, "Log" }, 192 { LogRole, "Log" },
193 { MainRole, "Main" }, 193 { MainRole, "Main" },
194 { MarkRole, "Mark" },
194 { MarqueeRole, "Marquee" }, 195 { MarqueeRole, "Marquee" },
195 { MathRole, "Math" }, 196 { MathRole, "Math" },
196 { MenuBarRole, "MenuBar" }, 197 { MenuBarRole, "MenuBar" },
197 { MenuButtonRole, "MenuButton" }, 198 { MenuButtonRole, "MenuButton" },
198 { MenuItemRole, "MenuItem" }, 199 { MenuItemRole, "MenuItem" },
199 { MenuItemCheckBoxRole, "MenuItemCheckBox" }, 200 { MenuItemCheckBoxRole, "MenuItemCheckBox" },
200 { MenuItemRadioRole, "MenuItemRadio" }, 201 { MenuItemRadioRole, "MenuItemRadio" },
201 { MenuListOptionRole, "MenuListOption" }, 202 { MenuListOptionRole, "MenuListOption" },
202 { MenuListPopupRole, "MenuListPopup" }, 203 { MenuListPopupRole, "MenuListPopup" },
203 { MenuRole, "Menu" }, 204 { MenuRole, "Menu" },
(...skipping 1267 matching lines...) Expand 10 before | Expand all | Expand 10 after
1471 } 1472 }
1472 1473
1473 const AtomicString& AXObject::internalRoleName(AccessibilityRole role) 1474 const AtomicString& AXObject::internalRoleName(AccessibilityRole role)
1474 { 1475 {
1475 static const Vector<AtomicString>* internalRoleNameVector = createInternalRo leNameVector(); 1476 static const Vector<AtomicString>* internalRoleNameVector = createInternalRo leNameVector();
1476 1477
1477 return internalRoleNameVector->at(role); 1478 return internalRoleNameVector->at(role);
1478 } 1479 }
1479 1480
1480 } // namespace blink 1481 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/accessibility/AXObject.h ('k') | Source/web/AssertMatchingEnums.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698