2011-04-27 13:42:27 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2011-05-27 22:37:24 +00:00
|
|
|
/* vim: set ts=2 et sw=2 tw=80: */
|
2012-05-21 11:12:37 +00: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-17 23:06:38 +00:00
|
|
|
|
2012-05-04 06:09:22 +00:00
|
|
|
#ifndef mozilla_a11y_RootAccessibleWrap_h__
|
|
|
|
#define mozilla_a11y_RootAccessibleWrap_h__
|
2001-04-17 23:06:38 +00:00
|
|
|
|
2012-10-13 06:34:21 +00:00
|
|
|
#include "BaseAccessibles.h"
|
2012-05-04 06:09:22 +00:00
|
|
|
#include "RootAccessible.h"
|
2001-04-17 23:06:38 +00:00
|
|
|
|
2012-05-04 06:09:22 +00:00
|
|
|
namespace mozilla {
|
|
|
|
namespace a11y {
|
2007-06-02 03:01:38 +00:00
|
|
|
|
2012-05-04 06:09:22 +00:00
|
|
|
typedef RootAccessible RootAccessibleWrap;
|
|
|
|
|
2012-10-13 06:34:21 +00:00
|
|
|
/* GtkWindowAccessible is the accessible class for gtk+ native window.
|
|
|
|
* The instance of GtkWindowAccessible is a child of MaiAppRoot instance.
|
2003-04-23 05:28:41 +00:00
|
|
|
* It is added into root when the toplevel window is created, and removed
|
|
|
|
* from root when the toplevel window is destroyed.
|
|
|
|
*/
|
2012-10-13 06:34:21 +00:00
|
|
|
class GtkWindowAccessible MOZ_FINAL : public DummyAccessible
|
2006-08-30 05:19:06 +00:00
|
|
|
{
|
|
|
|
public:
|
2014-09-02 16:19:32 +00:00
|
|
|
explicit GtkWindowAccessible(AtkObject* aAccessible);
|
2012-10-13 06:34:21 +00:00
|
|
|
virtual ~GtkWindowAccessible();
|
2006-08-30 05:19:06 +00:00
|
|
|
};
|
|
|
|
|
2012-05-04 06:09:22 +00:00
|
|
|
} // namespace a11y
|
|
|
|
} // namespace mozilla
|
|
|
|
|
|
|
|
#endif /* mozilla_a11y_Root_Accessible_Wrap_h__ */
|
|
|
|
|