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: */
|
2001-09-25 00:48:50 +00:00
|
|
|
/* ***** BEGIN LICENSE BLOCK *****
|
2005-12-31 12:57:14 +00:00
|
|
|
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
2003-04-23 05:28:41 +00:00
|
|
|
*
|
2005-12-31 12:57:14 +00:00
|
|
|
* The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
* 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
* the License. You may obtain a copy of the License at
|
|
|
|
* http://www.mozilla.org/MPL/
|
2001-04-17 23:06:38 +00:00
|
|
|
*
|
2005-12-31 12:57:14 +00:00
|
|
|
* Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
* for the specific language governing rights and limitations under the
|
|
|
|
* License.
|
2001-04-17 23:06:38 +00:00
|
|
|
*
|
|
|
|
* The Original Code is mozilla.org code.
|
|
|
|
*
|
2005-12-31 12:57:14 +00:00
|
|
|
* The Initial Developer of the Original Code is
|
|
|
|
* Sun Microsystems, Inc.
|
|
|
|
* Portions created by the Initial Developer are Copyright (C) 2002
|
|
|
|
* the Initial Developer. All Rights Reserved.
|
2001-04-17 23:06:38 +00:00
|
|
|
*
|
2005-12-31 12:57:14 +00:00
|
|
|
* Contributor(s):
|
|
|
|
* Bolian Yin (bolian.yin@sun.com)
|
|
|
|
* Ginn Chen (ginn.chen@sun.com)
|
2001-09-25 00:48:50 +00:00
|
|
|
*
|
|
|
|
* Alternatively, the contents of this file may be used under the terms of
|
|
|
|
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
* in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
* of those above. If you wish to allow use of your version of this file only
|
|
|
|
* under the terms of either the GPL or the LGPL, and not to allow others to
|
2005-12-31 12:57:14 +00:00
|
|
|
* use your version of this file under the terms of the MPL, indicate your
|
2001-09-25 00:48:50 +00:00
|
|
|
* decision by deleting the provisions above and replace them with the notice
|
|
|
|
* and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
* the provisions above, a recipient may use your version of this file under
|
2005-12-31 12:57:14 +00:00
|
|
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
2001-09-25 00:48:50 +00:00
|
|
|
*
|
|
|
|
* ***** END LICENSE BLOCK ***** */
|
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-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;
|
|
|
|
|
|
|
|
/* NativeRootAccessibleWrap is the accessible class for gtk+ native window.
|
|
|
|
* The instance of NativeRootAccessibleWrap 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-05-04 06:09:22 +00:00
|
|
|
class NativeRootAccessibleWrap : public RootAccessible
|
2006-08-30 05:19:06 +00:00
|
|
|
{
|
|
|
|
public:
|
2012-05-04 06:09:22 +00:00
|
|
|
NativeRootAccessibleWrap(AtkObject* aAccessible);
|
|
|
|
virtual ~NativeRootAccessibleWrap();
|
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__ */
|
|
|
|
|