Index: content/browser/accessibility/browser_accessibility_manager_mac.mm |
diff --git a/content/browser/accessibility/browser_accessibility_manager_mac.mm b/content/browser/accessibility/browser_accessibility_manager_mac.mm |
index d45e0c28e6cea7ecc21d7697c734f8e75515fdb0..c389a5c2f3c96d4f0d3b4745e22d20898b596b1d 100644 |
--- a/content/browser/accessibility/browser_accessibility_manager_mac.mm |
+++ b/content/browser/accessibility/browser_accessibility_manager_mac.mm |
@@ -67,6 +67,8 @@ NSString* const NSAccessibilityInvalidStatusChangedNotification = |
@"AXInvalidStatusChanged"; |
NSString* const NSAccessibilityLiveRegionChangedNotification = |
@"AXLiveRegionChanged"; |
+NSString* const NSAccessibilityExpandedChanged = |
+ @"AXExpandedChanged"; |
NSString* const NSAccessibilityMenuItemSelectedNotification = |
@"AXMenuItemSelected"; |
@@ -272,7 +274,10 @@ void BrowserAccessibilityManagerMac::NotifyAccessibilityEvent( |
case ui::AX_EVENT_ROW_COLLAPSED: |
mac_notification = NSAccessibilityRowCollapsedNotification; |
break; |
- // TODO(nektar): Add events for busy and expanded changed. |
+ // TODO(nektar): Add events for busy. |
+ case ui::AX_EVENT_EXPANDED_CHANGED: |
+ mac_notification = NSAccessibilityExpandedChanged; |
+ break; |
// TODO(nektar): Support menu open/close notifications. |
case ui::AX_EVENT_MENU_LIST_ITEM_SELECTED: |
mac_notification = NSAccessibilityMenuItemSelectedNotification; |