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/. */
|
2003-04-23 05:28:41 +00:00
|
|
|
|
2012-05-12 20:09:07 +00:00
|
|
|
#ifndef mozilla_a11y_ApplicationAccessibleWrap_h__
|
|
|
|
#define mozilla_a11y_ApplicationAccessibleWrap_h__
|
2003-04-23 05:28:41 +00:00
|
|
|
|
2012-04-25 11:29:40 +00:00
|
|
|
#include "ApplicationAccessible.h"
|
2003-04-23 05:28:41 +00:00
|
|
|
|
2012-05-12 20:09:07 +00:00
|
|
|
namespace mozilla {
|
|
|
|
namespace a11y {
|
2012-12-02 00:58:25 +00:00
|
|
|
|
2012-04-25 11:29:40 +00:00
|
|
|
class ApplicationAccessibleWrap: public ApplicationAccessible
|
2003-04-23 05:28:41 +00:00
|
|
|
{
|
|
|
|
public:
|
2012-05-12 20:09:07 +00:00
|
|
|
ApplicationAccessibleWrap();
|
|
|
|
virtual ~ApplicationAccessibleWrap();
|
2003-04-23 05:28:41 +00:00
|
|
|
|
2012-05-29 01:18:45 +00:00
|
|
|
// Accessible
|
2012-05-12 20:09:07 +00:00
|
|
|
virtual mozilla::a11y::ENameValueFlag Name(nsString& aName);
|
2013-03-14 04:53:28 +00:00
|
|
|
virtual bool InsertChildAt(uint32_t aIdx, Accessible* aChild) MOZ_OVERRIDE;
|
2012-05-29 01:18:45 +00:00
|
|
|
virtual bool RemoveChild(Accessible* aChild);
|
2010-06-25 09:50:23 +00:00
|
|
|
|
2012-05-12 20:09:07 +00:00
|
|
|
/**
|
|
|
|
* Return the atk object for app root accessible.
|
|
|
|
*/
|
|
|
|
NS_IMETHOD GetNativeInterface(void** aOutAccessible);
|
2003-04-23 05:28:41 +00:00
|
|
|
};
|
|
|
|
|
2012-05-12 20:09:07 +00:00
|
|
|
} // namespace a11y
|
|
|
|
} // namespace mozilla
|
|
|
|
|
2003-04-23 05:28:41 +00:00
|
|
|
#endif /* __NS_APP_ROOT_ACCESSIBLE_H__ */
|