Bug 846774 - Replace the sync event with an ack flag on events. r=cpeterson
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user