Bug 877985 - Expose node_parent_of relation via accNavigate. r=surkov

This commit is contained in:
Marcos A. Di Pietro 2013-06-03 08:49:38 -04:00
parent ac17fb34ed
commit 38e35a7088
2 changed files with 5 additions and 1 deletions

View File

@ -919,6 +919,9 @@ AccessibleWrap::accNavigate(
case NAVRELATION_DESCRIPTION_FOR:
xpRelation = nsIAccessibleRelation::RELATION_DESCRIPTION_FOR;
break;
case NAVRELATION_NODE_PARENT_OF:
xpRelation = nsIAccessibleRelation::RELATION_NODE_PARENT_OF;
break;
default:
return E_INVALIDARG;

View File

@ -268,7 +268,8 @@ protected:
NAVRELATION_PARENT_WINDOW_OF = 0x100c,
NAVRELATION_DEFAULT_BUTTON = 0x100d,
NAVRELATION_DESCRIBED_BY = 0x100e,
NAVRELATION_DESCRIPTION_FOR = 0x100f
NAVRELATION_DESCRIPTION_FOR = 0x100f,
NAVRELATION_NODE_PARENT_OF = 0x1010
};
};