2011-04-27 17:42:27 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2011-05-28 02:37:24 +04:00
|
|
|
/* vim: set ts=2 et sw=2 tw=80: */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2001-04-18 03:06:38 +04:00
|
|
|
|
2012-05-04 10:09:22 +04:00
|
|
|
#ifndef mozilla_a11y_RootAccessibleWrap_h__
|
|
|
|
#define mozilla_a11y_RootAccessibleWrap_h__
|
2001-04-18 03:06:38 +04:00
|
|
|
|
2012-10-13 10:34:21 +04:00
|
|
|
#include "BaseAccessibles.h"
|
2012-05-04 10:09:22 +04:00
|
|
|
#include "RootAccessible.h"
|
2001-04-18 03:06:38 +04:00
|
|
|
|
2012-05-04 10:09:22 +04:00
|
|
|
namespace mozilla {
|
|
|
|
namespace a11y {
|
2007-06-02 07:01:38 +04:00
|
|
|
|
2012-05-04 10:09:22 +04:00
|
|
|
typedef RootAccessible RootAccessibleWrap;
|
|
|
|
|
2012-10-13 10:34:21 +04:00
|
|
|
/* GtkWindowAccessible is the accessible class for gtk+ native window.
|
|
|
|
* The instance of GtkWindowAccessible is a child of MaiAppRoot instance.
|
2003-04-23 09:28:41 +04:00
|
|
|
* It is added into root when the toplevel window is created, and removed
|
|
|
|
* from root when the toplevel window is destroyed.
|
|
|
|
*/
|
2015-03-21 19:28:04 +03:00
|
|
|
class GtkWindowAccessible final : public DummyAccessible {
|
2006-08-30 09:19:06 +04:00
|
|
|
public:
|
2014-09-02 20:19:32 +04:00
|
|
|
explicit GtkWindowAccessible(AtkObject* aAccessible);
|
2012-10-13 10:34:21 +04:00
|
|
|
virtual ~GtkWindowAccessible();
|
2006-08-30 09:19:06 +04:00
|
|
|
};
|
|
|
|
|
2012-05-04 10:09:22 +04:00
|
|
|
} // namespace a11y
|
|
|
|
} // namespace mozilla
|
|
|
|
|
|
|
|
#endif /* mozilla_a11y_Root_Accessible_Wrap_h__ */
|