2 /* -*- Mode: Objective-C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
4 /* This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8 #ifndef mozilla_a11y_DocAccessibleWrap_h__
9 #define mozilla_a11y_DocAccessibleWrap_h__
11 #include "DocAccessible.h"
12 #include "nsTHashSet.h"
20 class DocAccessibleWrap
: public DocAccessible
{
22 DocAccessibleWrap(dom::Document
* aDocument
, PresShell
* aPresShell
);
24 virtual ~DocAccessibleWrap();
26 virtual void Shutdown() override
;
28 virtual void AttributeChanged(dom::Element
* aElement
, int32_t aNameSpaceID
,
29 nsAtom
* aAttribute
, int32_t aModType
,
30 const nsAttrValue
* aOldValue
) override
;
32 void QueueNewLiveRegion(LocalAccessible
* aAccessible
);
34 void ProcessNewLiveRegions();
37 virtual void DoInitialUpdate() override
;
40 nsTHashSet
<void*> mNewLiveRegions
;
44 } // namespace mozilla