2011-04-27 06:42:27 -07:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2011-05-27 15:37:24 -07:00
|
|
|
/* vim: set ts=2 et sw=2 tw=80: */
|
2012-05-21 04:12:37 -07: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/. */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2012-05-12 13:09:07 -07:00
|
|
|
#ifndef mozilla_a11y_ApplicationAccessibleWrap_h__
|
|
|
|
#define mozilla_a11y_ApplicationAccessibleWrap_h__
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2012-04-25 04:29:40 -07:00
|
|
|
#include "ApplicationAccessible.h"
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2012-05-12 13:09:07 -07:00
|
|
|
namespace mozilla {
|
|
|
|
namespace a11y {
|
2012-12-01 16:58:25 -08:00
|
|
|
|
2012-04-25 04:29:40 -07:00
|
|
|
class ApplicationAccessibleWrap: public ApplicationAccessible
|
2007-03-22 10:30:00 -07:00
|
|
|
{
|
|
|
|
public:
|
2012-05-12 13:09:07 -07:00
|
|
|
ApplicationAccessibleWrap();
|
|
|
|
virtual ~ApplicationAccessibleWrap();
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2012-05-28 18:18:45 -07:00
|
|
|
// Accessible
|
2015-01-15 12:39:04 -08:00
|
|
|
virtual mozilla::a11y::ENameValueFlag Name(nsString& aName) MOZ_OVERRIDE;
|
2013-03-13 21:53:28 -07:00
|
|
|
virtual bool InsertChildAt(uint32_t aIdx, Accessible* aChild) MOZ_OVERRIDE;
|
2015-01-15 12:39:04 -08:00
|
|
|
virtual bool RemoveChild(Accessible* aChild) MOZ_OVERRIDE;
|
2010-06-25 02:50:23 -07:00
|
|
|
|
2012-05-12 13:09:07 -07:00
|
|
|
/**
|
|
|
|
* Return the atk object for app root accessible.
|
|
|
|
*/
|
2014-10-21 17:49:28 -07:00
|
|
|
virtual void GetNativeInterface(void** aOutAccessible) MOZ_OVERRIDE;
|
2007-03-22 10:30:00 -07:00
|
|
|
};
|
|
|
|
|
2012-05-12 13:09:07 -07:00
|
|
|
} // namespace a11y
|
|
|
|
} // namespace mozilla
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
#endif /* __NS_APP_ROOT_ACCESSIBLE_H__ */
|