mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1188539 - Remove the deprecated TouchList::identifiedTouch method; r=jst
MozReview-Commit-ID: Gvsky55K19X --HG-- extra : rebase_source : 24e3fcd07d95f5dd5c9e4963c2d4f7f25f0b5aa4 extra : amend_source : d827583c99917113662368d51e1204c07987099e
This commit is contained in:
parent
49438ee761
commit
ae1acee3f0
@ -43,18 +43,6 @@ TouchList::PrefEnabled(JSContext* aCx, JSObject* aGlobal)
|
||||
return TouchEvent::PrefEnabled(aCx, aGlobal);
|
||||
}
|
||||
|
||||
Touch*
|
||||
TouchList::IdentifiedTouch(int32_t aIdentifier) const
|
||||
{
|
||||
for (uint32_t i = 0; i < mPoints.Length(); ++i) {
|
||||
Touch* point = mPoints[i];
|
||||
if (point && point->Identifier() == aIdentifier) {
|
||||
return point;
|
||||
}
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* TouchEvent
|
||||
*****************************************************************************/
|
||||
|
@ -71,7 +71,6 @@ public:
|
||||
}
|
||||
return mPoints[aIndex];
|
||||
}
|
||||
Touch* IdentifiedTouch(int32_t aIdentifier) const;
|
||||
|
||||
protected:
|
||||
~TouchList() {}
|
||||
|
@ -16,8 +16,3 @@ interface TouchList {
|
||||
readonly attribute unsigned long length;
|
||||
getter Touch? item(unsigned long index);
|
||||
};
|
||||
|
||||
/* Mozilla extension. */
|
||||
partial interface TouchList {
|
||||
Touch? identifiedTouch(long identifier);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user