Open Bug 1188959 Opened 4 years ago Updated Last year
[meta] Convert Gecko
Event to native methods
GeckoEvent is a big Java object that, for a particular event, contains many unnecessary fields. On the C++ side, it corresponds to AndroidGeckoEvent which is a giant blob of manual JNI code. I think we'll fix a lot of these problems if we convert events to native methods: one native method for each event with parameters for that event. One issue will be dealing with events sent before Gecko is loaded, and I have an idea of using Java proxy objects to "save" the native method calls until Gecko is loaded.
Depends on: 1211704
You need to log in before you can comment on or make changes to this bug.