Bug 1210108 - Emit object:state-changed:showing event for doorhangers, r=tbsaunde

This commit is contained in:
Alexander Surkov 2015-10-01 11:27:33 -04:00
parent 9ea7530da4
commit c48a3fa5a4

View File

@ -1252,6 +1252,11 @@ AccessibleWrap::HandleAccEvent(AccEvent* aEvent)
break;
}
case nsIAccessibleEvent::EVENT_ALERT:
// A hack using state change showing events as alert events.
atk_object_notify_state_change(atkObj, ATK_STATE_SHOWING, true);
break;
case nsIAccessibleEvent::EVENT_TEXT_SELECTION_CHANGED:
g_signal_emit_by_name(atkObj, "text_selection_changed");
break;