Bug 859951 - Refactor the code to convert MOTION_EVENT GeckoEvents to nsTouchEvent instances. r=wesj

This commit is contained in:
Kartikaya Gupta
2013-04-17 17:39:10 -04:00
parent c8ddf43fb5
commit 42ac3dde0c
5 changed files with 76 additions and 75 deletions

View File

@@ -15,6 +15,7 @@
#include "nsString.h"
#include "nsTArray.h"
#include "mozilla/gfx/Rect.h"
#include "mozilla/dom/Touch.h"
//#define FORCE_ALOG 1
@@ -660,6 +661,7 @@ public:
RefCountedJavaObject* ByteBuffer() { return mByteBuffer; }
int Width() { return mWidth; }
int Height() { return mHeight; }
nsTouchEvent MakeTouchEvent(nsIWidget* widget);
protected:
int mAction;