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

Unified Diff: ui/accessibility/platform/ax_platform_node_mac.mm

Issue 758393002: Removing unused roles(7) from chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/accessibility/ax_enums.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/platform/ax_platform_node_mac.mm
diff --git a/ui/accessibility/platform/ax_platform_node_mac.mm b/ui/accessibility/platform/ax_platform_node_mac.mm
index a574369e197f190e9ce9ee09e7902d68444d4dc5..cd859fd72fb2eb23aeab382cefd78c2deff67b8d 100644
--- a/ui/accessibility/platform/ax_platform_node_mac.mm
+++ b/ui/accessibility/platform/ax_platform_node_mac.mm
@@ -28,7 +28,6 @@ RoleMap BuildRoleMap() {
{ui::AX_ROLE_ARTICLE, NSAccessibilityGroupRole},
{ui::AX_ROLE_BANNER, NSAccessibilityGroupRole},
{ui::AX_ROLE_BLOCKQUOTE, NSAccessibilityGroupRole},
- {ui::AX_ROLE_BROWSER, NSAccessibilityBrowserRole},
{ui::AX_ROLE_BUSY_INDICATOR, NSAccessibilityBusyIndicatorRole},
{ui::AX_ROLE_BUTTON, NSAccessibilityButtonRole},
{ui::AX_ROLE_CANVAS, NSAccessibilityImageRole},
@@ -52,7 +51,6 @@ RoleMap BuildRoleMap() {
{ui::AX_ROLE_DISCLOSURE_TRIANGLE, NSAccessibilityDisclosureTriangleRole},
{ui::AX_ROLE_DIV, NSAccessibilityGroupRole},
{ui::AX_ROLE_DOCUMENT, NSAccessibilityGroupRole},
- {ui::AX_ROLE_DRAWER, NSAccessibilityDrawerRole},
{ui::AX_ROLE_EDITABLE_TEXT, NSAccessibilityTextFieldRole},
{ui::AX_ROLE_FIGCAPTION, NSAccessibilityGroupRole},
{ui::AX_ROLE_FIGURE, NSAccessibilityGroupRole},
@@ -62,7 +60,6 @@ RoleMap BuildRoleMap() {
{ui::AX_ROLE_GROUP, NSAccessibilityGroupRole},
{ui::AX_ROLE_GROW_AREA, NSAccessibilityGrowAreaRole},
{ui::AX_ROLE_HEADING, @"AXHeading"},
- {ui::AX_ROLE_HELP_TAG, NSAccessibilityHelpTagRole},
{ui::AX_ROLE_IFRAME, NSAccessibilityGroupRole},
{ui::AX_ROLE_IGNORED, NSAccessibilityUnknownRole},
{ui::AX_ROLE_IMAGE, NSAccessibilityImageRole},
@@ -79,7 +76,6 @@ RoleMap BuildRoleMap() {
{ui::AX_ROLE_MAIN, NSAccessibilityGroupRole},
{ui::AX_ROLE_MARQUEE, NSAccessibilityGroupRole},
{ui::AX_ROLE_MATH, NSAccessibilityGroupRole},
- {ui::AX_ROLE_MATTE, NSAccessibilityMatteRole},
{ui::AX_ROLE_MENU, NSAccessibilityMenuRole},
{ui::AX_ROLE_MENU_BAR, NSAccessibilityMenuBarRole},
{ui::AX_ROLE_MENU_BUTTON, NSAccessibilityButtonRole},
@@ -105,10 +101,8 @@ RoleMap BuildRoleMap() {
{ui::AX_ROLE_ROW, NSAccessibilityRowRole},
{ui::AX_ROLE_ROW_HEADER, @"AXCell"},
{ui::AX_ROLE_RULER, NSAccessibilityRulerRole},
- {ui::AX_ROLE_RULER_MARKER, NSAccessibilityRulerMarkerRole},
{ui::AX_ROLE_SCROLL_BAR, NSAccessibilityScrollBarRole},
{ui::AX_ROLE_SEARCH, NSAccessibilityGroupRole},
- {ui::AX_ROLE_SHEET, NSAccessibilitySheetRole},
{ui::AX_ROLE_SLIDER, NSAccessibilitySliderRole},
{ui::AX_ROLE_SLIDER_THUMB, NSAccessibilityValueIndicatorRole},
{ui::AX_ROLE_SPIN_BUTTON, NSAccessibilityIncrementorRole},
@@ -117,7 +111,6 @@ RoleMap BuildRoleMap() {
{ui::AX_ROLE_STATIC_TEXT, NSAccessibilityStaticTextRole},
{ui::AX_ROLE_STATUS, NSAccessibilityGroupRole},
{ui::AX_ROLE_SVG_ROOT, NSAccessibilityGroupRole},
- {ui::AX_ROLE_SYSTEM_WIDE, NSAccessibilityUnknownRole},
{ui::AX_ROLE_TAB, NSAccessibilityRadioButtonRole},
{ui::AX_ROLE_TABLE, NSAccessibilityTableRole},
{ui::AX_ROLE_TABLE_HEADER_CONTAINER, NSAccessibilityGroupRole},
@@ -133,7 +126,6 @@ RoleMap BuildRoleMap() {
{ui::AX_ROLE_TREE, NSAccessibilityOutlineRole},
{ui::AX_ROLE_TREE_GRID, NSAccessibilityTableRole},
{ui::AX_ROLE_TREE_ITEM, NSAccessibilityRowRole},
- {ui::AX_ROLE_VALUE_INDICATOR, NSAccessibilityValueIndicatorRole},
{ui::AX_ROLE_WEB_AREA, @"AXWebArea"},
{ui::AX_ROLE_WINDOW, NSAccessibilityWindowRole},
« no previous file with comments | « ui/accessibility/ax_enums.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698