Bug 859951 - Refactor the code to convert MOTION_EVENT GeckoEvents to nsTouchEvent instances. r=wesj
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user