gecko-dev/accessible/src/xul/nsXULAlertAccessible.h

33 lines
862 B
C
Raw Normal View History

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