gecko-dev/accessible/xul/XULAlertAccessible.h

42 строки
1.0 KiB
C
Исходник Обычный вид История

2005-03-15 18:44:02 +03:00
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
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/. */
2005-03-15 18:44:02 +03:00
#ifndef mozilla_a11y_XULAlertAccessible_h__
#define mozilla_a11y_XULAlertAccessible_h__
2005-03-15 18:44:02 +03:00
#include "AccessibleWrap.h"
2005-03-15 18:44:02 +03:00
namespace mozilla {
namespace a11y {
/**
* Accessible for supporting XUL alerts.
2005-03-15 18:44:02 +03:00
*/
class XULAlertAccessible : public AccessibleWrap
2005-03-15 18:44:02 +03:00
{
public:
XULAlertAccessible(nsIContent* aContent, DocAccessible* aDoc);
2005-03-15 18:44:02 +03:00
NS_DECL_ISUPPORTS_INHERITED
// Accessible
virtual mozilla::a11y::ENameValueFlag Name(nsString& aName) override;
virtual a11y::role NativeRole() override;
virtual uint64_t NativeState() override;
// Widgets
virtual bool IsWidget() const override;
virtual Accessible* ContainerWidget() const override;
protected:
~XULAlertAccessible();
2005-03-15 18:44:02 +03:00
};
} // namespace a11y
} // namespace mozilla
#endif