[PATCH 2/2] revert bug 935567 because it unnecessarily breaks

From 81f1fe2ccb9710ca2a956e1993ffef9e8b970c09 Mon Sep 17 00:00:00 2001
 backward compat
---
 accessible/src/atk/AccessibleWrap.cpp | 2 ++
 1 file changed, 2 insertions(+)
This commit is contained in:
Trevor Saunders 2013-11-18 08:16:21 -05:00
Родитель 99b3066328
Коммит 6c29481356
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -996,6 +996,7 @@ AccessibleWrap::HandleAccEvent(AccEvent* aEvent)
{
a11y::RootAccessible* rootAccWrap = accWrap->RootAccessible();
if (rootAccWrap && rootAccWrap->mActivated) {
atk_focus_tracker_notify(atkObj);
// Fire state change event for focus
atk_object_notify_state_change(atkObj, ATK_STATE_FOCUSED, true);
return NS_OK;
@ -1181,6 +1182,7 @@ AccessibleWrap::HandleAccEvent(AccEvent* aEvent)
break;
case nsIAccessibleEvent::EVENT_MENUPOPUP_START:
atk_focus_tracker_notify(atkObj); // fire extra focus event
atk_object_notify_state_change(atkObj, ATK_STATE_VISIBLE, true);
atk_object_notify_state_change(atkObj, ATK_STATE_SHOWING, true);
break;