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

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

Issue 712313003: Exposing AXRole* correctly for HTML input types on mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updating expectations 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 | « content/test/data/accessibility/input-week-expected-mac.txt ('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 280f3c49d20ea1091ac9c91f427aa11ce8df5191..a574369e197f190e9ce9ee09e7902d68444d4dc5 100644
--- a/ui/accessibility/platform/ax_platform_node_mac.mm
+++ b/ui/accessibility/platform/ax_platform_node_mac.mm
@@ -40,6 +40,8 @@ RoleMap BuildRoleMap() {
{ui::AX_ROLE_COMBO_BOX, NSAccessibilityComboBoxRole},
{ui::AX_ROLE_COMPLEMENTARY, NSAccessibilityGroupRole},
{ui::AX_ROLE_CONTENT_INFO, NSAccessibilityGroupRole},
+ {ui::AX_ROLE_DATE, @"AXDateField"},
+ {ui::AX_ROLE_DATE_TIME, NSAccessibilityTextFieldRole},
{ui::AX_ROLE_DEFINITION, NSAccessibilityGroupRole},
{ui::AX_ROLE_DESCRIPTION_LIST_DETAIL, NSAccessibilityGroupRole},
{ui::AX_ROLE_DESCRIPTION_LIST, NSAccessibilityListRole},
@@ -123,6 +125,7 @@ RoleMap BuildRoleMap() {
{ui::AX_ROLE_TAB_PANEL, NSAccessibilityGroupRole},
{ui::AX_ROLE_TEXT_AREA, NSAccessibilityTextAreaRole},
{ui::AX_ROLE_TEXT_FIELD, NSAccessibilityTextFieldRole},
+ {ui::AX_ROLE_TIME, @"AXTimeField"},
{ui::AX_ROLE_TIMER, NSAccessibilityGroupRole},
{ui::AX_ROLE_TOGGLE_BUTTON, NSAccessibilityCheckBoxRole},
{ui::AX_ROLE_TOOLBAR, NSAccessibilityToolbarRole},
« no previous file with comments | « content/test/data/accessibility/input-week-expected-mac.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698