accessible/atk/ApplicationAccessibleWrap.h
author Kai Engert <kaie@kuix.de>
Fri, 17 Apr 2015 18:43:30 +0200
changeset 239758 323f0f850485ec38a25ca4207197eb895282e5e9
parent 234933 ac4464790ec4896a5188fa50cfc69ae0ffeddc08
child 418608 dfc05d5ae732ce78aa4076fac0fe5b2684925dbd
permissions -rw-r--r--
Bug 1144055 - Upgrade Firefox 39 to use NSS 3.19, land NSS_3_19_BETA3, r=nss-confcall

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* 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/. */

#ifndef mozilla_a11y_ApplicationAccessibleWrap_h__
#define mozilla_a11y_ApplicationAccessibleWrap_h__

#include "ApplicationAccessible.h"

namespace mozilla {
namespace a11y {

class ApplicationAccessibleWrap: public ApplicationAccessible
{
public:
  ApplicationAccessibleWrap();
  virtual ~ApplicationAccessibleWrap();

  // Accessible
  virtual mozilla::a11y::ENameValueFlag Name(nsString& aName) override;
  virtual bool InsertChildAt(uint32_t aIdx, Accessible* aChild) override;
  virtual bool RemoveChild(Accessible* aChild) override;

  /**
   * Return the atk object for app root accessible.
   */
  virtual void GetNativeInterface(void** aOutAccessible) override;
};

} // namespace a11y
} // namespace mozilla

#endif   /* __NS_APP_ROOT_ACCESSIBLE_H__ */