OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Henry Mason (hmason@mac.com) | 2 * Copyright (C) 2007 Henry Mason (hmason@mac.com) |
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. | 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 11 matching lines...) Expand all Loading... |
22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
25 * | 25 * |
26 */ | 26 */ |
27 | 27 |
28 #ifndef MessageEvent_h | 28 #ifndef MessageEvent_h |
29 #define MessageEvent_h | 29 #define MessageEvent_h |
30 | 30 |
31 #include "Blob.h" | 31 #include "Blob.h" |
32 #include "Event.h" | |
33 #include "MessagePort.h" | |
34 #include "ScriptValue.h" | 32 #include "ScriptValue.h" |
35 #include "SerializedScriptValue.h" | 33 #include "SerializedScriptValue.h" |
| 34 #include "core/dom/Event.h" |
| 35 #include "core/dom/MessagePort.h" |
36 #include "core/page/DOMWindow.h" | 36 #include "core/page/DOMWindow.h" |
37 #include <wtf/ArrayBuffer.h> | 37 #include <wtf/ArrayBuffer.h> |
38 | 38 |
39 namespace WebCore { | 39 namespace WebCore { |
40 | 40 |
41 class DOMWindow; | 41 class DOMWindow; |
42 | 42 |
43 struct MessageEventInit : public EventInit { | 43 struct MessageEventInit : public EventInit { |
44 MessageEventInit(); | 44 MessageEventInit(); |
45 | 45 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 RefPtr<ArrayBuffer> m_dataAsArrayBuffer; | 131 RefPtr<ArrayBuffer> m_dataAsArrayBuffer; |
132 String m_origin; | 132 String m_origin; |
133 String m_lastEventId; | 133 String m_lastEventId; |
134 RefPtr<DOMWindow> m_source; | 134 RefPtr<DOMWindow> m_source; |
135 OwnPtr<MessagePortArray> m_ports; | 135 OwnPtr<MessagePortArray> m_ports; |
136 }; | 136 }; |
137 | 137 |
138 } // namespace WebCore | 138 } // namespace WebCore |
139 | 139 |
140 #endif // MessageEvent_h | 140 #endif // MessageEvent_h |
OLD | NEW |