зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 35ebbb5e0d02 (bug 1270916)
CLOSED TREE
This commit is contained in:
Родитель
8fd24c6c80
Коммит
957410f8c7
|
@ -109,8 +109,7 @@ Accessible::Accessible(nsIContent* aContent, DocAccessible* aDoc) :
|
||||||
mContent(aContent), mDoc(aDoc),
|
mContent(aContent), mDoc(aDoc),
|
||||||
mParent(nullptr), mIndexInParent(-1),
|
mParent(nullptr), mIndexInParent(-1),
|
||||||
mRoleMapEntryIndex(aria::NO_ROLE_MAP_ENTRY_INDEX),
|
mRoleMapEntryIndex(aria::NO_ROLE_MAP_ENTRY_INDEX),
|
||||||
mStateFlags(0), mContextFlags(0), mType(0), mGenericTypes(0),
|
mStateFlags(0), mContextFlags(0), mType(0), mGenericTypes(0)
|
||||||
mReorderEventTarget(false), mShowEventTarget(false), mHideEventTarget(false)
|
|
||||||
{
|
{
|
||||||
mBits.groupInfo = nullptr;
|
mBits.groupInfo = nullptr;
|
||||||
mInt.mIndexOfEmbeddedChild = -1;
|
mInt.mIndexOfEmbeddedChild = -1;
|
||||||
|
|
|
@ -956,36 +956,6 @@ public:
|
||||||
*/
|
*/
|
||||||
bool IsInsideAlert() const { return mContextFlags & eInsideAlert; }
|
bool IsInsideAlert() const { return mContextFlags & eInsideAlert; }
|
||||||
|
|
||||||
/**
|
|
||||||
* Return true if there is a pending reorder event for this accessible.
|
|
||||||
*/
|
|
||||||
bool ReorderEventTarget() const { return mReorderEventTarget; }
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return true if there is a pending show event for this accessible.
|
|
||||||
*/
|
|
||||||
bool ShowEventTarget() const { return mShowEventTarget; }
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return true if there is a pending hide event for this accessible.
|
|
||||||
*/
|
|
||||||
bool HideEventTarget() const { return mHideEventTarget; }
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Set if there is a pending reorder event for this accessible.
|
|
||||||
*/
|
|
||||||
void SetReorderEventTarget(bool aTarget) { mReorderEventTarget = aTarget; }
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Set if this accessible is a show event target.
|
|
||||||
*/
|
|
||||||
void SetShowEventTarget(bool aTarget) { mShowEventTarget = aTarget; }
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Set if this accessible is a hide event target.
|
|
||||||
*/
|
|
||||||
void SetHideEventTarget(bool aTarget) { mHideEventTarget = aTarget; }
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual ~Accessible();
|
virtual ~Accessible();
|
||||||
|
|
||||||
|
@ -1162,9 +1132,6 @@ protected:
|
||||||
uint32_t mContextFlags : kContextFlagsBits;
|
uint32_t mContextFlags : kContextFlagsBits;
|
||||||
uint32_t mType : kTypeBits;
|
uint32_t mType : kTypeBits;
|
||||||
uint32_t mGenericTypes : kGenericTypesBits;
|
uint32_t mGenericTypes : kGenericTypesBits;
|
||||||
uint32_t mReorderEventTarget : 1;
|
|
||||||
uint32_t mShowEventTarget : 1;
|
|
||||||
uint32_t mHideEventTarget : 1;
|
|
||||||
|
|
||||||
void StaticAsserts() const;
|
void StaticAsserts() const;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче