2007-04-24 18:20:52 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2001-09-25 00:48:50 +00:00
|
|
|
/* ***** BEGIN LICENSE BLOCK *****
|
2004-04-17 21:52:36 +00:00
|
|
|
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
2001-02-14 20:51:33 +00:00
|
|
|
*
|
2004-04-17 21:52:36 +00:00
|
|
|
* The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
* 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
* the License. You may obtain a copy of the License at
|
|
|
|
* http://www.mozilla.org/MPL/
|
2001-02-14 20:51:33 +00:00
|
|
|
*
|
2001-09-25 00:48:50 +00:00
|
|
|
* Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
* for the specific language governing rights and limitations under the
|
|
|
|
* License.
|
2001-02-14 20:51:33 +00:00
|
|
|
*
|
|
|
|
* The Original Code is mozilla.org code.
|
|
|
|
*
|
2004-04-17 21:52:36 +00:00
|
|
|
* The Initial Developer of the Original Code is
|
2001-09-25 00:48:50 +00:00
|
|
|
* Netscape Communications Corporation.
|
|
|
|
* Portions created by the Initial Developer are Copyright (C) 1998
|
|
|
|
* the Initial Developer. All Rights Reserved.
|
2001-02-14 20:51:33 +00:00
|
|
|
*
|
2001-09-25 00:48:50 +00:00
|
|
|
* Contributor(s):
|
2004-04-17 21:52:36 +00:00
|
|
|
* John Gaunt (jgaunt@netscape.com)
|
2001-09-25 00:48:50 +00:00
|
|
|
*
|
|
|
|
* Alternatively, the contents of this file may be used under the terms of
|
2004-04-17 21:52:36 +00:00
|
|
|
* either of the GNU General Public License Version 2 or later (the "GPL"),
|
|
|
|
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
2001-09-25 00:48:50 +00:00
|
|
|
* in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
* of those above. If you wish to allow use of your version of this file only
|
|
|
|
* under the terms of either the GPL or the LGPL, and not to allow others to
|
2004-04-17 21:52:36 +00:00
|
|
|
* use your version of this file under the terms of the MPL, indicate your
|
2001-09-25 00:48:50 +00:00
|
|
|
* decision by deleting the provisions above and replace them with the notice
|
|
|
|
* and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
* the provisions above, a recipient may use your version of this file under
|
2004-04-17 21:52:36 +00:00
|
|
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
*
|
2001-09-25 00:48:50 +00:00
|
|
|
* ***** END LICENSE BLOCK ***** */
|
2001-02-14 20:51:33 +00:00
|
|
|
|
|
|
|
#ifndef _nsAccessible_H_
|
|
|
|
#define _nsAccessible_H_
|
|
|
|
|
2003-04-01 20:02:51 +00:00
|
|
|
#include "nsAccessNodeWrap.h"
|
2007-03-27 12:17:11 +00:00
|
|
|
#include "nsAccessibilityUtils.h"
|
2007-05-20 02:41:33 +00:00
|
|
|
|
2001-10-09 21:52:36 +00:00
|
|
|
#include "nsIAccessible.h"
|
2003-07-09 07:01:46 +00:00
|
|
|
#include "nsPIAccessible.h"
|
2006-06-21 13:29:10 +00:00
|
|
|
#include "nsIAccessibleHyperLink.h"
|
2005-07-14 14:20:21 +00:00
|
|
|
#include "nsIAccessibleSelectable.h"
|
2006-06-15 16:55:32 +00:00
|
|
|
#include "nsIAccessibleValue.h"
|
2007-05-20 02:41:33 +00:00
|
|
|
#include "nsIAccessibleRole.h"
|
|
|
|
#include "nsIAccessibleStates.h"
|
2007-05-24 13:26:54 +00:00
|
|
|
#include "nsAccessibleRelationWrap.h"
|
2007-06-02 03:01:38 +00:00
|
|
|
#include "nsIAccessibleEvent.h"
|
2007-05-20 02:41:33 +00:00
|
|
|
|
2001-10-26 23:47:52 +00:00
|
|
|
#include "nsIDOMNodeList.h"
|
2005-06-24 16:29:15 +00:00
|
|
|
#include "nsINameSpaceManager.h"
|
|
|
|
#include "nsWeakReference.h"
|
2003-04-15 08:45:55 +00:00
|
|
|
#include "nsString.h"
|
2007-03-08 15:25:35 +00:00
|
|
|
#include "nsIDOMDOMStringList.h"
|
2007-06-05 15:41:07 +00:00
|
|
|
#include "nsARIAMap.h"
|
2001-02-14 20:51:33 +00:00
|
|
|
|
2003-04-15 08:45:55 +00:00
|
|
|
struct nsRect;
|
2001-10-09 21:52:36 +00:00
|
|
|
class nsIContent;
|
|
|
|
class nsIFrame;
|
2003-04-15 08:45:55 +00:00
|
|
|
class nsIPresShell;
|
|
|
|
class nsIDOMNode;
|
|
|
|
class nsIAtom;
|
2007-03-19 06:45:35 +00:00
|
|
|
class nsIView;
|
2001-02-14 20:51:33 +00:00
|
|
|
|
2007-08-04 05:27:27 +00:00
|
|
|
#define NS_OK_NO_ARIA_VALUE \
|
|
|
|
NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_GENERAL, 0x21)
|
|
|
|
|
2003-04-15 08:45:55 +00:00
|
|
|
// When mNextSibling is set to this, it indicates there ar eno more siblings
|
2007-07-08 07:08:04 +00:00
|
|
|
#define DEAD_END_ACCESSIBLE static_cast<nsIAccessible*>((void*)1)
|
2001-10-26 23:47:52 +00:00
|
|
|
|
2006-05-18 17:47:32 +00:00
|
|
|
// Saves a data member -- if child count equals this value we haven't
|
|
|
|
// cached children or child count yet
|
2006-05-29 05:43:12 +00:00
|
|
|
enum { eChildCountUninitialized = -1 };
|
2006-05-18 17:47:32 +00:00
|
|
|
|
2007-03-08 15:53:55 +00:00
|
|
|
class nsAccessibleDOMStringList : public nsIDOMDOMStringList
|
2007-03-08 15:25:35 +00:00
|
|
|
{
|
|
|
|
public:
|
2007-03-08 15:53:55 +00:00
|
|
|
nsAccessibleDOMStringList();
|
|
|
|
virtual ~nsAccessibleDOMStringList();
|
2007-03-08 15:25:35 +00:00
|
|
|
|
|
|
|
NS_DECL_ISUPPORTS
|
|
|
|
NS_DECL_NSIDOMDOMSTRINGLIST
|
|
|
|
|
|
|
|
PRBool Add(const nsAString& aName) {
|
|
|
|
return mNames.AppendString(aName);
|
|
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
nsStringArray mNames;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2003-07-09 07:01:46 +00:00
|
|
|
class nsAccessible : public nsAccessNodeWrap,
|
|
|
|
public nsIAccessible,
|
2005-07-14 14:20:21 +00:00
|
|
|
public nsPIAccessible,
|
2006-06-21 13:29:10 +00:00
|
|
|
public nsIAccessibleHyperLink,
|
2006-06-15 16:55:32 +00:00
|
|
|
public nsIAccessibleSelectable,
|
|
|
|
public nsIAccessibleValue
|
2001-02-14 20:51:33 +00:00
|
|
|
{
|
2001-06-30 00:25:09 +00:00
|
|
|
public:
|
Bug 109851, bug 108629, bug 109921, bug 109977, bug 109153, bug 109187, bug 109213, bug 109221. Check in latest XUL accessibility support - menus, <colorpicker>, <progressmeter>, <groupbox>, mixed states for checkboxes, buttons that can be 'checked' ie pressed down, fixes extra MSAA events being generated, couldn't see HTML content
2001-11-20 02:05:26 +00:00
|
|
|
nsAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
|
|
|
|
virtual ~nsAccessible();
|
|
|
|
|
2003-04-01 20:02:51 +00:00
|
|
|
NS_DECL_ISUPPORTS_INHERITED
|
|
|
|
NS_DECL_NSIACCESSIBLE
|
2003-07-09 07:01:46 +00:00
|
|
|
NS_DECL_NSPIACCESSIBLE
|
2006-06-21 13:29:10 +00:00
|
|
|
NS_DECL_NSIACCESSIBLEHYPERLINK
|
2005-07-14 14:20:21 +00:00
|
|
|
NS_DECL_NSIACCESSIBLESELECTABLE
|
2006-06-15 16:55:32 +00:00
|
|
|
NS_DECL_NSIACCESSIBLEVALUE
|
2003-04-01 20:02:51 +00:00
|
|
|
|
2003-05-01 10:25:45 +00:00
|
|
|
// nsIAccessNode
|
2005-01-28 02:35:26 +00:00
|
|
|
NS_IMETHOD Init();
|
2003-05-01 10:25:45 +00:00
|
|
|
NS_IMETHOD Shutdown();
|
|
|
|
|
2007-04-02 15:56:24 +00:00
|
|
|
/**
|
|
|
|
* Return the state of accessible that doesn't take into account ARIA states.
|
|
|
|
* Use nsIAccessible::finalState() to get all states for accessible. If
|
|
|
|
* second argument is omitted then second bit field of accessible state won't
|
|
|
|
* be calculated.
|
|
|
|
*/
|
2007-08-31 00:35:36 +00:00
|
|
|
NS_IMETHOD GetState(PRUint32 *aState, PRUint32 *aExtraState);
|
2007-04-02 15:56:24 +00:00
|
|
|
|
2007-04-07 09:07:24 +00:00
|
|
|
/**
|
|
|
|
* Returns attributes for accessible without explicitly setted ARIA
|
|
|
|
* attributes.
|
|
|
|
*/
|
|
|
|
virtual nsresult GetAttributesInternal(nsIPersistentProperties *aAttributes);
|
|
|
|
|
2007-04-02 15:56:24 +00:00
|
|
|
/**
|
|
|
|
* Maps ARIA state attributes to state of accessible. Note the given state
|
|
|
|
* argument should hold states for accessible before you pass it into this
|
|
|
|
* method.
|
|
|
|
*/
|
2007-08-30 01:15:16 +00:00
|
|
|
PRUint32 GetARIAState();
|
2003-03-20 08:27:31 +00:00
|
|
|
|
2006-11-08 08:22:46 +00:00
|
|
|
#ifdef DEBUG_A11Y
|
|
|
|
static PRBool IsTextInterfaceSupportCorrect(nsIAccessible *aAccessible);
|
|
|
|
#endif
|
|
|
|
|
2003-04-15 08:45:55 +00:00
|
|
|
static PRBool IsCorrectFrameType(nsIFrame* aFrame, nsIAtom* aAtom);
|
2007-04-02 15:56:24 +00:00
|
|
|
static PRUint32 State(nsIAccessible *aAcc) { PRUint32 state; aAcc->GetFinalState(&state, nsnull); return state; }
|
2006-06-22 17:22:30 +00:00
|
|
|
static PRUint32 Role(nsIAccessible *aAcc) { PRUint32 role; aAcc->GetFinalRole(&role); return role; }
|
2007-03-15 02:26:13 +00:00
|
|
|
static PRBool IsText(nsIAccessible *aAcc) { PRUint32 role = Role(aAcc); return role == nsIAccessibleRole::ROLE_TEXT_LEAF || role == nsIAccessibleRole::ROLE_STATICTEXT; }
|
|
|
|
static PRBool IsEmbeddedObject(nsIAccessible *aAcc) { PRUint32 role = Role(aAcc); return role != nsIAccessibleRole::ROLE_TEXT_LEAF && role != nsIAccessibleRole::ROLE_WHITESPACE && role != nsIAccessibleRole::ROLE_STATICTEXT; }
|
2007-08-04 01:12:24 +00:00
|
|
|
static PRInt32 TextLength(nsIAccessible *aAccessible); // Returns -1 on failure
|
2007-03-06 13:44:42 +00:00
|
|
|
static PRBool IsLeaf(nsIAccessible *aAcc) { PRInt32 numChildren; aAcc->GetChildCount(&numChildren); return numChildren > 0; }
|
2007-04-24 18:20:52 +00:00
|
|
|
static PRBool IsNodeRelevant(nsIDOMNode *aNode); // Is node something that could have an attached accessible
|
2007-08-15 21:02:31 +00:00
|
|
|
/**
|
|
|
|
* When exposing to platform accessibility APIs, should the children be pruned off?
|
|
|
|
*/
|
|
|
|
static PRBool MustPrune(nsIAccessible *aAccessible);
|
2006-10-23 09:45:34 +00:00
|
|
|
|
|
|
|
already_AddRefed<nsIAccessible> GetParent() {
|
|
|
|
nsIAccessible *parent = nsnull;
|
|
|
|
GetParent(&parent);
|
|
|
|
return parent;
|
|
|
|
}
|
2007-08-15 21:02:31 +00:00
|
|
|
|
2001-02-14 20:51:33 +00:00
|
|
|
protected:
|
2005-07-01 18:06:40 +00:00
|
|
|
PRBool MappedAttrState(nsIContent *aContent, PRUint32 *aStateInOut, nsStateMapEntry *aStateMapEntry);
|
2001-03-28 00:49:05 +00:00
|
|
|
virtual nsIFrame* GetBoundsFrame();
|
2003-07-31 08:09:39 +00:00
|
|
|
virtual void GetBoundsRect(nsRect& aRect, nsIFrame** aRelativeFrame);
|
2007-01-28 03:58:18 +00:00
|
|
|
PRBool IsVisible(PRBool *aIsOffscreen);
|
2007-03-18 14:08:33 +00:00
|
|
|
|
|
|
|
// Relation helpers
|
2005-06-01 14:03:38 +00:00
|
|
|
nsresult GetTextFromRelationID(nsIAtom *aIDAttrib, nsString &aName);
|
2007-06-30 20:23:16 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Search element in neighborhood of the given element by tag name and
|
|
|
|
* attribute value that equals to ID attribute of the current element.
|
|
|
|
* ID attribute can be either 'id' attribute or 'anonid' if the element is
|
|
|
|
* anonymous.
|
|
|
|
*
|
|
|
|
* @param aRelationAttr - attribute name of searched element
|
|
|
|
* @param aRelationNamespaceID - namespace id of searched attribute, by default
|
|
|
|
* empty namespace
|
|
|
|
* @param aAncestorLevelsToSearch - points how is the neighborhood of the
|
|
|
|
* given element big.
|
|
|
|
*/
|
2007-03-18 14:08:33 +00:00
|
|
|
already_AddRefed<nsIDOMNode> FindNeighbourPointingToThis(nsIAtom *aRelationAttr,
|
2007-06-30 20:23:16 +00:00
|
|
|
PRUint32 aRelationNameSpaceID = kNameSpaceID_None,
|
2007-03-18 14:08:33 +00:00
|
|
|
PRUint32 aAncestorLevelsToSearch = 0);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Search element in neighborhood of the given element by tag name and
|
|
|
|
* attribute value that equals to ID attribute of the given element.
|
|
|
|
* ID attribute can be either 'id' attribute or 'anonid' if the element is
|
|
|
|
* anonymous.
|
|
|
|
*
|
|
|
|
* @param aForNode - the given element the search is performed for
|
|
|
|
* @param aTagName - tag name of searched element
|
2007-06-30 20:23:16 +00:00
|
|
|
* @param aRelationAttr - attribute name of searched element
|
|
|
|
* @param aRelationNamespaceID - namespace id of searched attribute, by default
|
|
|
|
* empty namespace
|
2007-03-18 14:08:33 +00:00
|
|
|
* @param aAncestorLevelsToSearch - points how is the neighborhood of the
|
|
|
|
* given element big.
|
|
|
|
*/
|
|
|
|
static nsIContent *FindNeighbourPointingToNode(nsIContent *aForNode,
|
|
|
|
nsIAtom *aTagName,
|
2007-06-30 20:23:16 +00:00
|
|
|
nsIAtom *aRelationAttr,
|
|
|
|
PRUint32 aRelationNameSpaceID = kNameSpaceID_None,
|
2007-03-18 14:08:33 +00:00
|
|
|
PRUint32 aAncestorLevelsToSearch = 5);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Search for element that satisfies the requirements in subtree of the given
|
|
|
|
* element. The requirements are tag name, attribute name and value of
|
|
|
|
* attribute.
|
|
|
|
*
|
|
|
|
* @param aId - value of searched attribute
|
|
|
|
* @param aLookContent - element that search is performed inside
|
2007-06-30 20:23:16 +00:00
|
|
|
* @param aRelationAttr - searched attribute
|
|
|
|
* @param aRelationNamespaceID - namespace id of searched attribute, by default
|
|
|
|
* empty namespace
|
2007-03-18 14:08:33 +00:00
|
|
|
* @param aExcludeContent - element that is skiped for search
|
|
|
|
* @param aTagType - tag name of searched element, by default it is 'label'
|
|
|
|
*/
|
|
|
|
static nsIContent *FindDescendantPointingToID(const nsAString *aId,
|
|
|
|
nsIContent *aLookContent,
|
2007-06-30 20:23:16 +00:00
|
|
|
nsIAtom *aRelationAttr,
|
|
|
|
PRUint32 aRelationNamespaceID = kNameSpaceID_None,
|
2007-03-18 14:08:33 +00:00
|
|
|
nsIContent *aExcludeContent = nsnull,
|
|
|
|
nsIAtom *aTagType = nsAccessibilityAtoms::label);
|
2005-06-24 16:29:15 +00:00
|
|
|
|
2004-07-06 13:00:40 +00:00
|
|
|
static nsIContent *GetHTMLLabelContent(nsIContent *aForNode);
|
2005-06-24 16:29:15 +00:00
|
|
|
static nsIContent *GetLabelContent(nsIContent *aForNode);
|
2005-06-01 13:54:08 +00:00
|
|
|
static nsIContent *GetRoleContent(nsIDOMNode *aDOMNode);
|
2005-06-24 16:29:15 +00:00
|
|
|
|
2007-03-18 14:08:33 +00:00
|
|
|
// Name helpers
|
2005-02-07 23:11:30 +00:00
|
|
|
nsresult GetHTMLName(nsAString& _retval, PRBool aCanAggregateSubtree = PR_TRUE);
|
|
|
|
nsresult GetXULName(nsAString& aName, PRBool aCanAggregateSubtree = PR_TRUE);
|
2004-06-02 04:06:28 +00:00
|
|
|
// For accessibles that are not lists of choices, the name of the subtree should be the
|
|
|
|
// sum of names in the subtree
|
2004-07-06 13:00:40 +00:00
|
|
|
nsresult AppendFlatStringFromSubtree(nsIContent *aContent, nsAString *aFlatString);
|
2005-07-22 13:58:18 +00:00
|
|
|
nsresult AppendNameFromAccessibleFor(nsIContent *aContent, nsAString *aFlatString,
|
|
|
|
PRBool aFromValue = PR_FALSE);
|
2004-07-06 13:00:40 +00:00
|
|
|
nsresult AppendFlatStringFromContentNode(nsIContent *aContent, nsAString *aFlatString);
|
|
|
|
nsresult AppendStringWithSpaces(nsAString *aFlatString, const nsAString& textEquivalent);
|
2003-04-15 08:45:55 +00:00
|
|
|
|
Bug 109851, bug 108629, bug 109921, bug 109977, bug 109153, bug 109187, bug 109213, bug 109221. Check in latest XUL accessibility support - menus, <colorpicker>, <progressmeter>, <groupbox>, mixed states for checkboxes, buttons that can be 'checked' ie pressed down, fixes extra MSAA events being generated, couldn't see HTML content
2001-11-20 02:05:26 +00:00
|
|
|
// helper method to verify frames
|
2002-05-08 20:43:49 +00:00
|
|
|
static nsresult GetFullKeyName(const nsAString& aModifierName, const nsAString& aKeyName, nsAString& aStringOut);
|
2002-03-23 21:52:27 +00:00
|
|
|
static nsresult GetTranslatedString(const nsAString& aKey, nsAString& aStringOut);
|
2002-08-01 21:36:02 +00:00
|
|
|
nsresult AppendFlatStringFromSubtreeRecurse(nsIContent *aContent, nsAString *aFlatString);
|
2006-06-21 13:29:10 +00:00
|
|
|
|
|
|
|
// Helpers for dealing with children
|
2006-07-26 19:38:25 +00:00
|
|
|
virtual void CacheChildren();
|
2006-10-23 09:45:34 +00:00
|
|
|
|
|
|
|
// nsCOMPtr<>& is useful here, because getter_AddRefs() nulls the comptr's value, and NextChild
|
|
|
|
// depends on the passed-in comptr being null or already set to a child (finding the next sibling).
|
2006-06-21 13:29:10 +00:00
|
|
|
nsIAccessible *NextChild(nsCOMPtr<nsIAccessible>& aAccessible);
|
2006-10-23 09:45:34 +00:00
|
|
|
|
2006-06-21 13:29:10 +00:00
|
|
|
already_AddRefed<nsIAccessible> GetNextWithState(nsIAccessible *aStart, PRUint32 matchState);
|
2001-09-25 22:32:32 +00:00
|
|
|
|
2007-03-06 13:44:42 +00:00
|
|
|
/**
|
|
|
|
* Return an accessible for the given DOM node, or if that node isn't accessible, return the
|
|
|
|
* accessible for the next DOM node which has one (based on forward depth first search)
|
|
|
|
* @param aStartNode, the DOM node to start from
|
|
|
|
* @param aRequireLeaf, only accept leaf accessible nodes
|
|
|
|
* @return the resulting accessible
|
|
|
|
*/
|
|
|
|
already_AddRefed<nsIAccessible> GetFirstAvailableAccessible(nsIDOMNode *aStartNode, PRBool aRequireLeaf = PR_FALSE);
|
|
|
|
|
2005-07-14 14:20:21 +00:00
|
|
|
// Selection helpers
|
|
|
|
static already_AddRefed<nsIAccessible> GetMultiSelectFor(nsIDOMNode *aNode);
|
|
|
|
|
2006-06-21 13:29:10 +00:00
|
|
|
// Hyperlink helpers
|
|
|
|
virtual nsresult GetLinkOffset(PRInt32* aStartOffset, PRInt32* aEndOffset);
|
|
|
|
|
2005-02-01 09:40:36 +00:00
|
|
|
// For accessibles that have actions
|
|
|
|
static void DoCommandCallback(nsITimer *aTimer, void *aClosure);
|
2005-08-17 17:22:16 +00:00
|
|
|
nsresult DoCommand(nsIContent *aContent = nsnull);
|
2005-02-01 09:40:36 +00:00
|
|
|
|
2007-03-19 06:45:35 +00:00
|
|
|
// Check the visibility across both parent content and chrome
|
|
|
|
PRBool CheckVisibilityInParentChain(nsIDocument* aDocument, nsIView* aView);
|
|
|
|
|
2007-08-04 05:27:27 +00:00
|
|
|
/**
|
|
|
|
* Get numeric value of the given attribute.
|
|
|
|
*
|
|
|
|
* @param aNameSpaceID - namespace ID of the attribute
|
|
|
|
* @param aName - name of the attribute
|
|
|
|
* @param aValue - value of the attribute
|
|
|
|
*
|
|
|
|
* @return - NS_OK_NO_ARIA_VALUE if there is no setted ARIA attribute
|
|
|
|
*/
|
|
|
|
nsresult GetAttrValue(PRUint32 aNameSpaceID, nsIAtom *aName, double *aValue);
|
|
|
|
|
2001-05-11 21:11:38 +00:00
|
|
|
// Data Members
|
2003-06-24 08:41:28 +00:00
|
|
|
nsCOMPtr<nsIAccessible> mParent;
|
|
|
|
nsIAccessible *mFirstChild, *mNextSibling;
|
2005-01-28 02:35:26 +00:00
|
|
|
nsRoleMapEntry *mRoleMapEntry; // Non-null indicates author-supplied role; possibly state & value as well
|
2006-05-29 05:43:12 +00:00
|
|
|
PRInt32 mAccChildCount;
|
Bug 109851, bug 108629, bug 109921, bug 109977, bug 109153, bug 109187, bug 109213, bug 109221. Check in latest XUL accessibility support - menus, <colorpicker>, <progressmeter>, <groupbox>, mixed states for checkboxes, buttons that can be 'checked' ie pressed down, fixes extra MSAA events being generated, couldn't see HTML content
2001-11-20 02:05:26 +00:00
|
|
|
};
|
|
|
|
|
2005-01-28 02:35:26 +00:00
|
|
|
|
2001-02-14 20:51:33 +00:00
|
|
|
#endif
|
2003-04-15 08:45:55 +00:00
|
|
|
|