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

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

Issue 1123313004: Handles AX role for time element(re-land). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update LayoutTest Created 5 years, 7 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 { GridRole, "Grid" }, 173 { GridRole, "Grid" },
174 { GroupRole, "Group" }, 174 { GroupRole, "Group" },
175 { HeadingRole, "Heading" }, 175 { HeadingRole, "Heading" },
176 { IframePresentationalRole, "IframePresentational" }, 176 { IframePresentationalRole, "IframePresentational" },
177 { IframeRole, "Iframe" }, 177 { IframeRole, "Iframe" },
178 { IgnoredRole, "Ignored" }, 178 { IgnoredRole, "Ignored" },
179 { ImageMapLinkRole, "ImageMapLink" }, 179 { ImageMapLinkRole, "ImageMapLink" },
180 { ImageMapRole, "ImageMap" }, 180 { ImageMapRole, "ImageMap" },
181 { ImageRole, "Image" }, 181 { ImageRole, "Image" },
182 { InlineTextBoxRole, "InlineTextBox" }, 182 { InlineTextBoxRole, "InlineTextBox" },
183 { InputTimeRole, "InputTime" },
183 { LabelRole, "Label" }, 184 { LabelRole, "Label" },
184 { LegendRole, "Legend" }, 185 { LegendRole, "Legend" },
185 { LinkRole, "Link" }, 186 { LinkRole, "Link" },
186 { ListBoxOptionRole, "ListBoxOption" }, 187 { ListBoxOptionRole, "ListBoxOption" },
187 { ListBoxRole, "ListBox" }, 188 { ListBoxRole, "ListBox" },
188 { ListItemRole, "ListItem" }, 189 { ListItemRole, "ListItem" },
189 { ListMarkerRole, "ListMarker" }, 190 { ListMarkerRole, "ListMarker" },
190 { ListRole, "List" }, 191 { ListRole, "List" },
191 { LogRole, "Log" }, 192 { LogRole, "Log" },
192 { MainRole, "Main" }, 193 { MainRole, "Main" },
(...skipping 1226 matching lines...) Expand 10 before | Expand all | Expand 10 after
1419 } 1420 }
1420 1421
1421 const AtomicString& AXObject::internalRoleName(AccessibilityRole role) 1422 const AtomicString& AXObject::internalRoleName(AccessibilityRole role)
1422 { 1423 {
1423 static const Vector<AtomicString>* internalRoleNameVector = createInternalRo leNameVector(); 1424 static const Vector<AtomicString>* internalRoleNameVector = createInternalRo leNameVector();
1424 1425
1425 return internalRoleNameVector->at(role); 1426 return internalRoleNameVector->at(role);
1426 } 1427 }
1427 1428
1428 } // namespace blink 1429 } // 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