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

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

Issue 1160433004: Revert of Add MarkRole in blink side to expose mark tag properly (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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" },
195 { MarqueeRole, "Marquee" }, 194 { MarqueeRole, "Marquee" },
196 { MathRole, "Math" }, 195 { MathRole, "Math" },
197 { MenuBarRole, "MenuBar" }, 196 { MenuBarRole, "MenuBar" },
198 { MenuButtonRole, "MenuButton" }, 197 { MenuButtonRole, "MenuButton" },
199 { MenuItemRole, "MenuItem" }, 198 { MenuItemRole, "MenuItem" },
200 { MenuItemCheckBoxRole, "MenuItemCheckBox" }, 199 { MenuItemCheckBoxRole, "MenuItemCheckBox" },
201 { MenuItemRadioRole, "MenuItemRadio" }, 200 { MenuItemRadioRole, "MenuItemRadio" },
202 { MenuListOptionRole, "MenuListOption" }, 201 { MenuListOptionRole, "MenuListOption" },
203 { MenuListPopupRole, "MenuListPopup" }, 202 { MenuListPopupRole, "MenuListPopup" },
204 { MenuRole, "Menu" }, 203 { MenuRole, "Menu" },
(...skipping 1267 matching lines...) Expand 10 before | Expand all | Expand 10 after
1472 } 1471 }
1473 1472
1474 const AtomicString& AXObject::internalRoleName(AccessibilityRole role) 1473 const AtomicString& AXObject::internalRoleName(AccessibilityRole role)
1475 { 1474 {
1476 static const Vector<AtomicString>* internalRoleNameVector = createInternalRo leNameVector(); 1475 static const Vector<AtomicString>* internalRoleNameVector = createInternalRo leNameVector();
1477 1476
1478 return internalRoleNameVector->at(role); 1477 return internalRoleNameVector->at(role);
1479 } 1478 }
1480 1479
1481 } // namespace blink 1480 } // 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