Bug 910857 - Minimize #includes in content/events; r=smaug