Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@157298 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -39,11 +39,13 @@
|
||||
|
||||
// NOTE: alphabetically ordered
|
||||
#include "nsXULFormControlAccessible.h"
|
||||
#include "nsHTMLFormControlAccessible.h"
|
||||
#include "nsIDOMHTMLInputElement.h"
|
||||
#include "nsIDOMXULButtonElement.h"
|
||||
#include "nsIDOMXULCheckboxElement.h"
|
||||
#include "nsIDOMXULMenuListElement.h"
|
||||
#include "nsIDOMXULSelectCntrlItemEl.h"
|
||||
#include "nsIDOMXULTextboxElement.h"
|
||||
#include "nsAccessibleTreeWalker.h"
|
||||
|
||||
/**
|
||||
@@ -632,7 +634,7 @@ NS_IMETHODIMP nsXULToolbarSeparatorAccessible::GetState(PRUint32 *_retval)
|
||||
*/
|
||||
|
||||
nsXULTextFieldAccessible::nsXULTextFieldAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell) :
|
||||
nsHTMLTextFieldAccessibleWrap(aNode, aShell)
|
||||
nsLeafAccessible(aNode, aShell)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -42,12 +42,7 @@
|
||||
|
||||
// NOTE: alphabetically ordered
|
||||
#include "nsAccessibleWrap.h"
|
||||
#include "nsIDOMXULTextboxElement.h"
|
||||
#ifdef MOZ_ACCESSIBILITY_ATK
|
||||
#include "nsHTMLFormControlAccessibleWrap.h"
|
||||
#else
|
||||
#include "nsHTMLFormControlAccessible.h"
|
||||
#endif
|
||||
#include "nsFormControlAccessible.h"
|
||||
|
||||
class nsXULButtonAccessible : public nsAccessibleWrap
|
||||
// Don't inherit from nsFormControlAccessible - it doesn't allow children and a button can have a dropmarker child
|
||||
@@ -152,13 +147,14 @@ public:
|
||||
NS_IMETHOD GetState(PRUint32 *_retval);
|
||||
};
|
||||
|
||||
class nsXULTextFieldAccessible : public nsHTMLTextFieldAccessibleWrap
|
||||
class nsXULTextFieldAccessible : public nsLeafAccessible
|
||||
{
|
||||
public:
|
||||
nsXULTextFieldAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
|
||||
NS_IMETHOD GetName(nsAString& aName) { return GetXULName(aName); }
|
||||
NS_IMETHOD GetValue(nsAString& aValue);
|
||||
NS_IMETHOD GetState(PRUint32 *aState);
|
||||
NS_IMETHOD GetRole(PRUint32 *aRole) { *aRole = ROLE_TEXT; return NS_OK; }
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user