Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: WebCore/dom/EventNames.h

Issue 155079: WebSocket implementation in WebKit (Closed)
Patch Set: Rewrite to use SocketStreamHandle Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « WebCore/bindings/v8/custom/V8WebSocketCustom.cpp ('k') | WebCore/dom/EventTarget.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2005, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2005, 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Jon Shier (jshier@iastate.edu) 3 * Copyright (C) 2006 Jon Shier (jshier@iastate.edu)
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 macro(progress) \ 122 macro(progress) \
123 macro(stalled) \ 123 macro(stalled) \
124 macro(suspend) \ 124 macro(suspend) \
125 \ 125 \
126 macro(webkitAnimationEnd) \ 126 macro(webkitAnimationEnd) \
127 macro(webkitAnimationStart) \ 127 macro(webkitAnimationStart) \
128 macro(webkitAnimationIteration) \ 128 macro(webkitAnimationIteration) \
129 \ 129 \
130 macro(webkitTransitionEnd) \ 130 macro(webkitTransitionEnd) \
131 \ 131 \
132 macro(open) \
132 // end of DOM_EVENT_NAMES_FOR_EACH 133 // end of DOM_EVENT_NAMES_FOR_EACH
133 134
134 class EventNames { 135 class EventNames {
135 int dummy; // Needed to make initialization macro work. 136 int dummy; // Needed to make initialization macro work.
136 137
137 public: 138 public:
138 EventNames(); 139 EventNames();
139 140
140 #define DOM_EVENT_NAMES_DECLARE(name) AtomicString name##Event; 141 #define DOM_EVENT_NAMES_DECLARE(name) AtomicString name##Event;
141 DOM_EVENT_NAMES_FOR_EACH(DOM_EVENT_NAMES_DECLARE) 142 DOM_EVENT_NAMES_FOR_EACH(DOM_EVENT_NAMES_DECLARE)
142 #undef DOM_EVENT_NAMES_DECLARE 143 #undef DOM_EVENT_NAMES_DECLARE
143 }; 144 };
144 145
145 inline EventNames& eventNames() 146 inline EventNames& eventNames()
146 { 147 {
147 return threadGlobalData().eventNames(); 148 return threadGlobalData().eventNames();
148 } 149 }
149 150
150 } 151 }
151 152
152 #endif 153 #endif
OLDNEW
« no previous file with comments | « WebCore/bindings/v8/custom/V8WebSocketCustom.cpp ('k') | WebCore/dom/EventTarget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698