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