2 * Copyright (C) 2005, 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Jon Shier (jshier@iastate.edu)
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
25 #include "AtomicString.h"
28 template<typename
> class ThreadSpecific
;
33 #define DOM_EVENT_NAMES_FOR_EACH(macro) \
76 macro(overflowchanged) \
78 macro(readystatechange) \
93 macro(DOMAttrModified) \
94 macro(DOMCharacterDataModified) \
97 macro(DOMNodeInserted) \
98 macro(DOMNodeInsertedIntoDocument) \
99 macro(DOMNodeRemoved) \
100 macro(DOMNodeRemovedFromDocument) \
101 macro(DOMSubtreeModified) \
102 macro(DOMContentLoaded) \
104 macro(webkitBeforeTextInserted) \
105 macro(webkitEditableContentChanged) \
107 macro(canshowcurrentframe) \
109 macro(canplaythrough) \
110 macro(dataunavailable) \
111 macro(durationchange) \
114 macro(loadedfirstframe) \
115 macro(loadedmetadata) \
120 macro(volumechange) \
126 macro(webkitAnimationEnd) \
127 macro(webkitAnimationStart) \
128 macro(webkitAnimationIteration) \
130 macro(webkitTransitionEnd) \
132 // end of DOM_EVENT_NAMES_FOR_EACH
135 friend class WTF::ThreadSpecific
<EventNames
>;
138 int dummy
; // Needed to make initialization macro work.
143 #define DOM_EVENT_NAMES_DECLARE(name) AtomicString name##Event;
144 DOM_EVENT_NAMES_FOR_EACH(DOM_EVENT_NAMES_DECLARE
)
145 #undef DOM_EVENT_NAMES_DECLARE
148 EventNames
& eventNames();