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

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

Issue 1132963002: Handles conversion rule for TimeRole and updates InputTimeRole. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Maps InputTime role to ROLE_SYSTEM_GROUPING 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 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 8314758215a87d131651a9d8c5e67cf2fd3f1636..3bfa7b0f8cd7f1f488e5fcdb28092df6aa08f7a5 100644
--- a/ui/accessibility/platform/ax_platform_node_mac.mm
+++ b/ui/accessibility/platform/ax_platform_node_mac.mm
@@ -66,6 +66,7 @@ RoleMap BuildRoleMap() {
{ui::AX_ROLE_IMAGE, NSAccessibilityImageRole},
{ui::AX_ROLE_IMAGE_MAP, NSAccessibilityGroupRole},
{ui::AX_ROLE_IMAGE_MAP_LINK, NSAccessibilityLinkRole},
+ {ui::AX_ROLE_INPUT_TIME, @"AXTimeField"},
{ui::AX_ROLE_LABEL_TEXT, NSAccessibilityGroupRole},
{ui::AX_ROLE_LEGEND, NSAccessibilityGroupRole},
{ui::AX_ROLE_LINK, NSAccessibilityLinkRole},
@@ -120,7 +121,7 @@ RoleMap BuildRoleMap() {
{ui::AX_ROLE_TAB_LIST, NSAccessibilityTabGroupRole},
{ui::AX_ROLE_TAB_PANEL, NSAccessibilityGroupRole},
{ui::AX_ROLE_TEXT_FIELD, NSAccessibilityTextFieldRole},
- {ui::AX_ROLE_TIME, @"AXTimeField"},
+ {ui::AX_ROLE_TIME, NSAccessibilityGroupRole},
{ui::AX_ROLE_TIMER, NSAccessibilityGroupRole},
{ui::AX_ROLE_TOGGLE_BUTTON, NSAccessibilityCheckBoxRole},
{ui::AX_ROLE_TOOLBAR, NSAccessibilityToolbarRole},
« 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