RootAccessibleWrap.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  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/. */
  5. #ifndef mozilla_a11y_RootAccessibleWrap_h__
  6. #define mozilla_a11y_RootAccessibleWrap_h__
  7. #include "BaseAccessibles.h"
  8. #include "RootAccessible.h"
  9. namespace mozilla {
  10. namespace a11y {
  11. typedef RootAccessible RootAccessibleWrap;
  12. /* GtkWindowAccessible is the accessible class for gtk+ native window.
  13. * The instance of GtkWindowAccessible is a child of MaiAppRoot instance.
  14. * It is added into root when the toplevel window is created, and removed
  15. * from root when the toplevel window is destroyed.
  16. */
  17. class GtkWindowAccessible final : public DummyAccessible
  18. {
  19. public:
  20. explicit GtkWindowAccessible(AtkObject* aAccessible);
  21. virtual ~GtkWindowAccessible();
  22. };
  23. } // namespace a11y
  24. } // namespace mozilla
  25. #endif /* mozilla_a11y_Root_Accessible_Wrap_h__ */