Bug 860940 - Add static factory-style methods to create AndroidGeckoEvent instances in widget code. r=cpeterson
This commit is contained in:
@@ -498,11 +498,9 @@ AndroidGeckoEvent::ReadCharactersExtraField(JNIEnv *jenv)
|
||||
}
|
||||
|
||||
void
|
||||
AndroidGeckoEvent::Init(int aType, nsIntRect const& aRect)
|
||||
AndroidGeckoEvent::UnionRect(nsIntRect const& aRect)
|
||||
{
|
||||
mType = aType;
|
||||
mAckNeeded = false;
|
||||
mRect = aRect;
|
||||
mRect = aRect.Union(mRect);
|
||||
}
|
||||
|
||||
uint32_t
|
||||
@@ -671,14 +669,6 @@ AndroidGeckoEvent::Init(int aType)
|
||||
mAckNeeded = false;
|
||||
}
|
||||
|
||||
void
|
||||
AndroidGeckoEvent::Init(int aType, int aAction)
|
||||
{
|
||||
mType = aType;
|
||||
mAckNeeded = false;
|
||||
mAction = aAction;
|
||||
}
|
||||
|
||||
void
|
||||
AndroidGeckoEvent::Init(AndroidGeckoEvent *aResizeEvent)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user