mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
Bug 1375116 - RelationType::CONTAINING_WINDOW is not in the RelationTypeMap. r=surkov
Add RelationType::CONTAINING_WINDOW to the RelationTypeMap. Note that there is no implementation for this RelationType in place yet, but this addition will fix off-by-one bugs when mapping newly-added relation types to platform accessibility APIs.
This commit is contained in:
parent
2ba8ad9f9e
commit
66ad9aca23
@ -123,6 +123,12 @@ RELATIONTYPE(CONTAINING_TAB_PANE,
|
||||
NAVRELATION_CONTAINING_TAB_PANE,
|
||||
IA2_RELATION_CONTAINING_TAB_PANE)
|
||||
|
||||
RELATIONTYPE(CONTAINING_WINDOW,
|
||||
"containing window",
|
||||
ATK_RELATION_NULL,
|
||||
NAVRELATION_CONTAINING_WINDOW,
|
||||
IA2_RELATION_CONTAINING_WINDOW)
|
||||
|
||||
RELATIONTYPE(CONTAINING_APPLICATION,
|
||||
"containing application",
|
||||
ATK_RELATION_NULL,
|
||||
|
@ -119,6 +119,11 @@ interface nsIAccessibleRelation : nsISupports
|
||||
*/
|
||||
const unsigned long RELATION_CONTAINING_TAB_PANE = 0x12;
|
||||
|
||||
/**
|
||||
* The target object is the containing window object.
|
||||
*/
|
||||
const unsigned long RELATION_CONTAINING_WINDOW = 0x13;
|
||||
|
||||
/**
|
||||
* The target object is the containing application object.
|
||||
*/
|
||||
|
@ -253,6 +253,7 @@ protected:
|
||||
NAVRELATION_NODE_PARENT_OF = 0x1010,
|
||||
NAVRELATION_CONTAINING_DOCUMENT = 0x1011,
|
||||
NAVRELATION_CONTAINING_TAB_PANE = 0x1012,
|
||||
NAVRELATION_CONTAINING_WINDOW = 0x1013,
|
||||
NAVRELATION_CONTAINING_APPLICATION = 0x1014,
|
||||
NAVRELATION_DETAILS = 0x1015,
|
||||
NAVRELATION_DETAILS_FOR = 0x1016,
|
||||
|
Loading…
Reference in New Issue
Block a user