Bug 920377 part.13 Get rid of nsTouchEvent r=roc

This commit is contained in:
Masayuki Nakano
2013-09-27 15:20:57 +09:00
parent 395a56d9cb
commit fb9f3a20a8
31 changed files with 102 additions and 96 deletions

View File

@@ -704,7 +704,7 @@ AndroidGeckoEvent::Init(AndroidGeckoEvent *aResizeEvent)
mPoints = aResizeEvent->mPoints; // x,y coordinates
}
nsTouchEvent
WidgetTouchEvent
AndroidGeckoEvent::MakeTouchEvent(nsIWidget* widget)
{
int type = NS_EVENT_NULL;
@@ -737,7 +737,7 @@ AndroidGeckoEvent::MakeTouchEvent(nsIWidget* widget)
}
}
nsTouchEvent event(true, type, widget);
WidgetTouchEvent event(true, type, widget);
if (type == NS_EVENT_NULL) {
// An event we don't know about
return event;