RootAccessibleWrap.h (1084B)
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 final : public DummyAccessible { 24 public: 25 explicit GtkWindowAccessible(AtkObject* aAccessible); 26 virtual ~GtkWindowAccessible(); 27 }; 28 29 } // namespace a11y 30 } // namespace mozilla 31 32 #endif /* mozilla_a11y_Root_Accessible_Wrap_h__ */