Some XUL accessible wrap classes no longer used. b=351563, r=hwaara, aaronlev. Patch by surkov.alexander@gmail.com

This commit is contained in:
hwaara%gmail.com 2006-09-07 11:25:09 +00:00
Родитель dcf9d82cc6
Коммит 9c24e1d492
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -1358,7 +1358,7 @@ nsresult nsAccessibilityService::GetAccessibleByType(nsIDOMNode *aNode,
*aAccessible = new nsXULMenubarAccessible(aNode, weakShell); *aAccessible = new nsXULMenubarAccessible(aNode, weakShell);
break; break;
case nsIAccessibleProvider::XULMenuitem: case nsIAccessibleProvider::XULMenuitem:
*aAccessible = new nsXULMenuitemAccessible(aNode, weakShell); *aAccessible = new nsXULMenuitemAccessibleWrap(aNode, weakShell);
break; break;
case nsIAccessibleProvider::XULMenupopup: case nsIAccessibleProvider::XULMenupopup:
{ {
@ -1413,10 +1413,10 @@ nsresult nsAccessibilityService::GetAccessibleByType(nsIDOMNode *aNode,
*aAccessible = new nsXULTextFieldAccessible(aNode, weakShell); *aAccessible = new nsXULTextFieldAccessible(aNode, weakShell);
break; break;
case nsIAccessibleProvider::XULTree: case nsIAccessibleProvider::XULTree:
*aAccessible = new nsXULTreeAccessible(aNode, weakShell); *aAccessible = new nsXULTreeAccessibleWrap(aNode, weakShell);
break; break;
case nsIAccessibleProvider::XULTreeColumns: case nsIAccessibleProvider::XULTreeColumns:
*aAccessible = new nsXULTreeColumnsAccessible(aNode, weakShell); *aAccessible = new nsXULTreeColumnsAccessibleWrap(aNode, weakShell);
break; break;
case nsIAccessibleProvider::XULTreeColumnitem: case nsIAccessibleProvider::XULTreeColumnitem:
*aAccessible = new nsXULTreeColumnitemAccessible(aNode, weakShell); *aAccessible = new nsXULTreeColumnitemAccessible(aNode, weakShell);