Bug 1856976 [wpt PR 42335] - Update mutation event suppression for <details name...
[gecko.git] / accessible / android / RootAccessibleWrap.h
blob5c5ba95f611b21a9d5b2a6392061acf2a29d766c
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef mozilla_a11y_RootAccessibleWrap_h__
7 #define mozilla_a11y_RootAccessibleWrap_h__
9 #include "RootAccessible.h"
11 namespace mozilla {
13 class PresShell;
15 namespace a11y {
17 /**
18 * Android specific functionality for the node at a root of the accessibility
19 * tree: see the RootAccessible superclass for further details.
21 class RootAccessibleWrap : public RootAccessible {
22 public:
23 RootAccessibleWrap(dom::Document* aDocument, PresShell* aPresShell);
24 virtual ~RootAccessibleWrap();
26 // nsIDOMEventListener
27 NS_DECL_NSIDOMEVENTLISTENER
29 protected:
30 virtual nsresult AddEventListeners() override;
31 virtual nsresult RemoveEventListeners() override;
34 } // namespace a11y
35 } // namespace mozilla
37 #endif