{"json_modified": "2016-03-28T08:36:58.287782", "uuid": "d4124445-3bb6-404c-a6fb-d5465a3a042b", "title": "Adding a new event", "url": "/en-US/docs/Mozilla/Adding_a_new_event", "tags": ["Developing Mozilla", "DOM", "Gecko"], "translations": [], "modified": "2016-02-01T04:53:58", "label": "Adding a new event", "localization_tags": [], "locale": "en-US", "id": 124727, "last_edit": "2014-11-13T01:48:07", "summary": "Roughly, there are 3 types of event. First, you need to choose which type you need.", "sections": [{"id": "What_type_of_event_do_you_want", "title": "What type of event do you want?"}, {"id": "How_to_implement_an_internal_event_class", "title": "How to implement an internal event class"}, {"id": "Add_event_messages", "title": "Add event messages"}, {"id": "Define_event_class_name", "title": "Define event class name"}, {"id": "Define_and_implement_an_event_class", "title": "Define and implement an event class"}, {"id": "Make_new_event_class_IPC_aware", "title": "Make new event class IPC aware"}, {"id": "Modify_utility_methods_of_WidgetEvent", "title": "Modify utility methods of "}, {"id": "How_to_implement_a_DOM_event_class", "title": "How to implement a DOM event class"}, {"id": "Create_WebIDL_of_the_event", "title": "Create WebIDL of the event"}, {"id": "Create_XPCOM_interface_for_the_DOM_event", "title": "Create XPCOM interface for the DOM event"}, {"id": "Implement_DOM_event_class", "title": "Implement DOM event class"}, {"id": "Generate_DOM_event_implementation_if_it's_possible", "title": "Generate DOM event implementation if it's possible"}, {"id": "Define_and_create_DOM_event_class_manually", "title": "Define and create DOM event class manually"}, {"id": "Create_DOM_event_factory_method", "title": "Create DOM event factory method"}, {"id": "Modify_EventDispatcherCreateEvent()", "title": "Modify "}, {"id": "Register_each_event_into_EventNameList.h", "title": "Register each event into EventNameList.h"}, {"id": "Modify_tests", "title": "Modify tests"}], "slug": "Mozilla/Adding_a_new_event", "review_tags": []}