Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug

This commit is contained in:
Masayuki Nakano
2015-08-26 21:56:59 +09:00
parent 9d598cf7d2
commit d36f87a852
123 changed files with 716 additions and 466 deletions

View File

@@ -689,7 +689,7 @@ AndroidGeckoEvent::MakeTouchEvent(nsIWidget* widget)
return mApzInput.ToWidgetTouchEvent(widget);
}
int type = NS_EVENT_NULL;
EventMessage type = NS_EVENT_NULL;
int startIndex = 0;
int endIndex = Count();
@@ -830,7 +830,7 @@ AndroidGeckoEvent::MakeMultiTouchInput(nsIWidget* widget)
WidgetMouseEvent
AndroidGeckoEvent::MakeMouseEvent(nsIWidget* widget)
{
uint32_t msg = NS_EVENT_NULL;
EventMessage msg = NS_EVENT_NULL;
if (Points().Length() > 0) {
switch (Action()) {
case AndroidMotionEvent::ACTION_HOVER_MOVE: