Bug 396153 No need to emit attributes_changed event for anchor jump

r=aaronleventhal a=dsicore
This commit is contained in:
ginn.chen%sun.com 2007-09-19 06:41:45 +00:00
Родитель 29d0bd38be
Коммит e7fa7afab1
2 изменённых файлов: 0 добавлений и 10 удалений

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

@ -1346,11 +1346,6 @@ nsAccessibleWrap::FireAccessibleEvent(nsIAccessibleEvent *aEvent)
MAI_LOG_DEBUG(("\n\nReceived: EVENT_DOCUMENT_LOAD_STOPPED\n")); MAI_LOG_DEBUG(("\n\nReceived: EVENT_DOCUMENT_LOAD_STOPPED\n"));
g_signal_emit_by_name (atkObj, "load_stopped"); g_signal_emit_by_name (atkObj, "load_stopped");
} break; } break;
case nsIAccessibleEvent::EVENT_DOCUMENT_ATTRIBUTES_CHANGED:
{
MAI_LOG_DEBUG(("\n\nReceived: EVENT_DOCUMENT_ATTRIBUTES_CHANGED\n"));
g_signal_emit_by_name (atkObj, "attributes_changed");
} break;
case nsIAccessibleEvent::EVENT_MENUPOPUP_START: case nsIAccessibleEvent::EVENT_MENUPOPUP_START:
MAI_LOG_DEBUG(("\n\nReceived: EVENT_MENUPOPUP_START\n")); MAI_LOG_DEBUG(("\n\nReceived: EVENT_MENUPOPUP_START\n"));

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

@ -753,11 +753,6 @@ NS_IMETHODIMP nsDocAccessible::FireAnchorJumpEvent()
lastAnchor.Assign(currentAnchor); lastAnchor.Assign(currentAnchor);
} }
if (mIsAnchorJumped) {
nsAccUtils::
FireAccEvent(nsIAccessibleEvent::EVENT_DOCUMENT_ATTRIBUTES_CHANGED, this);
}
return NS_OK; return NS_OK;
} }