accessible/generic: Add stubs to DocAccessible for wine-gecko specific nsIDocument methods.

DocAccessible inherits from nsIDocumentObserver, which inherits from
nsIDocument. Wine-gecko adds two more methods to this class, which we
need to stub.

Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
This commit is contained in:
Connor McAdams 2022-06-13 09:54:04 -04:00 committed by Jacek Caban
parent f2f92c69fe
commit 420a327259

View File

@ -710,6 +710,19 @@ NS_IMPL_NSIDOCUMENTOBSERVER_CORE_STUB(DocAccessible)
NS_IMPL_NSIDOCUMENTOBSERVER_LOAD_STUB(DocAccessible) NS_IMPL_NSIDOCUMENTOBSERVER_LOAD_STUB(DocAccessible)
NS_IMPL_NSIDOCUMENTOBSERVER_STYLE_STUB(DocAccessible) NS_IMPL_NSIDOCUMENTOBSERVER_STYLE_STUB(DocAccessible)
#ifdef WINE_GECKO_SRC
void DocAccessible::BindToDocument(nsIDocument *aDocument, nsIContent *aContent)
{
}
void DocAccessible::AttemptToExecuteScript(nsIContent *aContent,
nsIParser *aParser, bool *aBlock)
{
}
#endif
void void
DocAccessible::AttributeWillChange(nsIDocument* aDocument, DocAccessible::AttributeWillChange(nsIDocument* aDocument,
dom::Element* aElement, dom::Element* aElement,