bug 1213516 - fire showing state change event for atk in place of an alert event r=davidb

This commit is contained in:
Trevor Saunders 2015-10-15 15:02:56 -04:00
parent 981b720bf9
commit c40026692f

View File

@ -1471,6 +1471,10 @@ a11y::ProxyEvent(ProxyAccessible* aTarget, uint32_t aEventType)
atk_object_notify_state_change(wrapper, ATK_STATE_VISIBLE, false);
atk_object_notify_state_change(wrapper, ATK_STATE_SHOWING, false);
break;
case nsIAccessibleEvent::EVENT_ALERT:
// A hack using state change showing events as alert events.
atk_object_notify_state_change(wrapper, ATK_STATE_SHOWING, true);
break;
}
}