bug 1196460 - add class for wrapping proxies of document accessibles r=surkov

For now this isn't really different from the class used to wrap
HyperTextAccessibles.  However we will need to store extra data to map IDs to
accessibles when we implement events.
This commit is contained in:
Trevor Saunders 2015-08-07 15:42:52 -04:00
parent 1df2e61c36
commit 83ddc41d31

View File

@ -42,6 +42,13 @@ public:
virtual void Shutdown() override { mBits.proxy = nullptr; }
};
class DocProxyAccessibleWrap : public HyperTextProxyAccessibleWrap
{
public:
DocProxyAccessibleWrap(ProxyAccessible* aProxy) :
HyperTextProxyAccessibleWrap(aProxy) {}
};
template<typename T>
inline ProxyAccessible*
HyperTextProxyFor(T* aWrapper)