Backed out changeset 35ebbb5e0d02 (bug 1270916)

CLOSED TREE
This commit is contained in:
Iris Hsiao 2016-11-16 14:42:36 +08:00
Родитель 8fd24c6c80
Коммит 957410f8c7
2 изменённых файлов: 1 добавлений и 35 удалений

Просмотреть файл

@ -109,8 +109,7 @@ Accessible::Accessible(nsIContent* aContent, DocAccessible* aDoc) :
mContent(aContent), mDoc(aDoc),
mParent(nullptr), mIndexInParent(-1),
mRoleMapEntryIndex(aria::NO_ROLE_MAP_ENTRY_INDEX),
mStateFlags(0), mContextFlags(0), mType(0), mGenericTypes(0),
mReorderEventTarget(false), mShowEventTarget(false), mHideEventTarget(false)
mStateFlags(0), mContextFlags(0), mType(0), mGenericTypes(0)
{
mBits.groupInfo = nullptr;
mInt.mIndexOfEmbeddedChild = -1;

Просмотреть файл

@ -956,36 +956,6 @@ public:
*/
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:
virtual ~Accessible();
@ -1162,9 +1132,6 @@ protected:
uint32_t mContextFlags : kContextFlagsBits;
uint32_t mType : kTypeBits;
uint32_t mGenericTypes : kGenericTypesBits;
uint32_t mReorderEventTarget : 1;
uint32_t mShowEventTarget : 1;
uint32_t mHideEventTarget : 1;
void StaticAsserts() const;