|
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
|
2 /* vim: set ts=2 et sw=2 tw=80: */ |
|
3 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
4 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
6 |
|
7 #ifndef mozilla_a11y_RootAccessibleWrap_h__ |
|
8 #define mozilla_a11y_RootAccessibleWrap_h__ |
|
9 |
|
10 #include "BaseAccessibles.h" |
|
11 #include "RootAccessible.h" |
|
12 |
|
13 namespace mozilla { |
|
14 namespace a11y { |
|
15 |
|
16 typedef RootAccessible RootAccessibleWrap; |
|
17 |
|
18 /* GtkWindowAccessible is the accessible class for gtk+ native window. |
|
19 * The instance of GtkWindowAccessible is a child of MaiAppRoot instance. |
|
20 * It is added into root when the toplevel window is created, and removed |
|
21 * from root when the toplevel window is destroyed. |
|
22 */ |
|
23 class GtkWindowAccessible MOZ_FINAL : public DummyAccessible |
|
24 { |
|
25 public: |
|
26 GtkWindowAccessible(AtkObject* aAccessible); |
|
27 virtual ~GtkWindowAccessible(); |
|
28 }; |
|
29 |
|
30 } // namespace a11y |
|
31 } // namespace mozilla |
|
32 |
|
33 #endif /* mozilla_a11y_Root_Accessible_Wrap_h__ */ |
|
34 |