Bug 846774 - Replace the sync event with an ack flag on events. r=cpeterson

This commit is contained in:
Kartikaya Gupta
2013-03-10 22:43:30 +00:00
parent f51a5cc836
commit e8238c7e73
9 changed files with 46 additions and 37 deletions

View File

@@ -622,6 +622,7 @@ public:
int Action() { return mAction; }
int Type() { return mType; }
bool AckNeeded() { return mAckNeeded; }
int64_t Time() { return mTime; }
const nsTArray<nsIntPoint>& Points() { return mPoints; }
const nsTArray<int>& PointIndicies() { return mPointIndicies; }
@@ -664,6 +665,7 @@ public:
protected:
int mAction;
int mType;
bool mAckNeeded;
int64_t mTime;
nsTArray<nsIntPoint> mPoints;
nsTArray<nsIntPoint> mPointRadii;
@@ -708,6 +710,7 @@ protected:
static jclass jGeckoEventClass;
static jfieldID jActionField;
static jfieldID jTypeField;
static jfieldID jAckNeededField;
static jfieldID jTimeField;
static jfieldID jPoints;
static jfieldID jPointIndicies;
@@ -764,7 +767,7 @@ public:
LOAD_URI = 12,
SURFACE_CREATED = 13, // used by XUL fennec only
SURFACE_DESTROYED = 14, // used by XUL fennec only
GECKO_EVENT_SYNC = 15,
NOOP = 15,
FORCED_RESIZE = 16, // used internally in nsAppShell/nsWindow
ACTIVITY_START = 17,
BROADCAST = 19,