mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1250715 - no acceptable children for leafs, r=marcoz
This commit is contained in:
parent
c6537709fd
commit
42491c0b86
@ -53,6 +53,13 @@ LeafAccessible::RemoveChild(Accessible* aChild)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool
|
||||||
|
LeafAccessible::IsAcceptableChild(nsIContent* aEl) const
|
||||||
|
{
|
||||||
|
// No children for leaf accessible.
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// LeafAccessible: Accessible private
|
// LeafAccessible: Accessible private
|
||||||
|
|
||||||
|
@ -38,6 +38,8 @@ public:
|
|||||||
virtual bool InsertChildAt(uint32_t aIndex, Accessible* aChild) override final;
|
virtual bool InsertChildAt(uint32_t aIndex, Accessible* aChild) override final;
|
||||||
virtual bool RemoveChild(Accessible* aChild) override final;
|
virtual bool RemoveChild(Accessible* aChild) override final;
|
||||||
|
|
||||||
|
virtual bool IsAcceptableChild(nsIContent* aEl) const override;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual ~LeafAccessible() {}
|
virtual ~LeafAccessible() {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user