Closed Bug 875545 Opened 12 years ago Closed 12 years ago

Make Telephony.h/cpp to use EventListenerAdded/Removed

Categories

(Core :: DOM: Device Interfaces, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: smaug, Assigned: smaug)

References

Details

Attachments

(2 files, 1 obsolete file)

Attached patch wip (obsolete) — Splinter Review
Totally untested patch since I haven't figured out how to compile Telephony.h/cpp https://tbpl.mozilla.org/?tree=Try&rev=56fd506a31c1 But I'll test the changes to EventListenerManager tomorrow.
Attached patch v2Splinter Review
Attachment #753524 - Attachment is obsolete: true
Comment on attachment 753766 [details] [diff] [review] v2 The ELM part is a bit ugly.
Attachment #753766 - Flags: review?(bzbarsky)
Comment on attachment 753766 [details] [diff] [review] v2 >+ bool same = scriptListener->GetHandler().Ptr() && aHandler.Ptr() && >+ scriptListener->GetHandler().Ptr()->CallbackPreserveColor() == >+ aHandler.Ptr()->CallbackPreserveColor(); Maybe put this in an operator== on nsEventHandler? >+ void EventListenerAdded(nsIAtom* aType); virtual, and MOZ_OVERRIDE. r=me with that.
Attachment #753766 - Flags: review?(bzbarsky) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: