Closed
Bug 831783
Opened 11 years ago
Closed 11 years ago
Clean up event constants
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 21
People
(Reporter: kats, Assigned: kats)
Details
Attachments
(1 file)
7.97 KB,
patch
|
snorp
:
review+
|
Details | Diff | Splinter Review |
There's a bunch of event constants in GeckoEvents.java that are not used, and some in the XUL fennec GeckoEvents that are horribly out of date. Patch attached. Try build running at https://tbpl.mozilla.org/?tree=Try&rev=2b061861aa1e Presumably this patch won't break XUL fennec any more than it is already broken, and hopefully will actually fix some things and/or make it more consistent.
Attachment #703344 -
Flags: review?(snorp)
Comment 1•11 years ago
|
||
Comment on attachment 703344 [details] [diff] [review] Patch Review of attachment 703344 [details] [diff] [review]: ----------------------------------------------------------------- ::: embedding/android/GeckoEvent.java @@ +46,5 @@ > public static final int BROADCAST = 19; > public static final int VIEWPORT = 20; > public static final int VISITED = 21; > public static final int NETWORK_CHANGED = 22; > + public static final int SCREENORIENTATION_CHANGED = 27; Since this is out of sequence, may be worth commenting that it's set to match the one in mobile/android/GeckoEvent.java?
Attachment #703344 -
Flags: review?(snorp) → review+
Assignee | ||
Comment 2•11 years ago
|
||
Added a comment as requested, landed on inbound: https://hg.mozilla.org/integration/mozilla-inbound/rev/48c0d6ebc3d5
Comment 3•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/48c0d6ebc3d5
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 21
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•