mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1162654 - allow proxies to implement the document interface r=davidb
This commit is contained in:
parent
faee2bb8a5
commit
ea31b88c07
@ -1060,6 +1060,9 @@ GetInterfacesForProxy(ProxyAccessible* aProxy, uint32_t aInterfaces)
|
||||
if (aInterfaces & Interfaces::IMAGE)
|
||||
interfaces |= MAI_INTERFACE_IMAGE;
|
||||
|
||||
if (aInterfaces & Interfaces::DOCUMENT)
|
||||
interfaces |= MAI_INTERFACE_DOCUMENT;
|
||||
|
||||
return interfaces;
|
||||
}
|
||||
|
||||
|
@ -39,6 +39,9 @@ InterfacesFor(Accessible* aAcc)
|
||||
if (aAcc->IsTableCell())
|
||||
interfaces |= Interfaces::TABLECELL;
|
||||
|
||||
if (aAcc->IsDoc())
|
||||
interfaces |= Interfaces::DOCUMENT;
|
||||
|
||||
return interfaces;
|
||||
}
|
||||
|
||||
|
@ -321,6 +321,7 @@ enum Interfaces
|
||||
VALUE = 8,
|
||||
TABLE = 16,
|
||||
TABLECELL = 32,
|
||||
DOCUMENT = 64,
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user