michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0:
michael@0: /*
michael@0: * This file contains the list of event names that are exposed via IDL
michael@0: * on various objects. It is designed to be used as inline input to
michael@0: * various consumers through the magic of C preprocessing.
michael@0: *
michael@0: * Each entry consists of 4 pieces of information:
michael@0: * 1) The name of the event
michael@0: * 2) The event ID (see BasicEvents.h)
michael@0: * 3) The event type (see the EventNameType enum in nsContentUtils.h)
michael@0: * 4) The event struct type for this event.
michael@0: * Items 2-4 might be empty strings for events for which they don't make sense.
michael@0: *
michael@0: * Event names that are exposed as content attributes on HTML elements
michael@0: * and as IDL attributes on Elements, Documents and Windows and have
michael@0: * no forwarding behavior should be enclosed in the EVENT macro.
michael@0: *
michael@0: * Event names that are exposed as content attributes on HTML elements
michael@0: * and as IDL attributes on Elements, Documents and Windows and are
michael@0: * forwarded from
and