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"
|
|
|
|
|
2010-06-11 08:23:18 +00:00
|
|
|
/**
|
|
|
|
* Accessible for supporting XUL alerts.
|
2005-03-15 15:44:02 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
class nsXULAlertAccessible : public nsAccessibleWrap
|
|
|
|
{
|
|
|
|
public:
|
2012-05-27 09:01:40 +00:00
|
|
|
nsXULAlertAccessible(nsIContent* aContent, DocAccessible* aDoc);
|
2008-11-04 03:37:46 +00:00
|
|
|
|
2005-03-15 15:44:02 +00:00
|
|
|
NS_DECL_ISUPPORTS_INHERITED
|
2008-11-04 03:37:46 +00:00
|
|
|
|
|
|
|
// nsAccessible
|
2012-05-01 03:08:31 +00:00
|
|
|
virtual mozilla::a11y::ENameValueFlag Name(nsString& aName);
|
2012-01-12 03:07:35 +00:00
|
|
|
virtual mozilla::a11y::role NativeRole();
|
2011-04-09 23:38:06 +00:00
|
|
|
virtual PRUint64 NativeState();
|
2011-09-28 01:46:11 +00:00
|
|
|
|
|
|
|
// Widgets
|
|
|
|
virtual bool IsWidget() const;
|
|
|
|
virtual nsAccessible* ContainerWidget() const;
|
2005-03-15 15:44:02 +00:00
|
|
|
};
|
|
|
|
|
2011-09-28 01:46:11 +00:00
|
|
|
#endif
|