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 10 matching lines...) Expand all Loading... |
21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
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 "bindings/v8/SerializedScriptValue.h" | 31 #include "bindings/core/v8/SerializedScriptValue.h" |
32 #include "core/events/Event.h" | 32 #include "core/events/Event.h" |
33 #include "core/events/EventTarget.h" | 33 #include "core/events/EventTarget.h" |
34 #include "core/dom/MessagePort.h" | 34 #include "core/dom/MessagePort.h" |
35 #include "core/fileapi/Blob.h" | 35 #include "core/fileapi/Blob.h" |
36 #include "core/frame/LocalDOMWindow.h" | 36 #include "core/frame/LocalDOMWindow.h" |
37 #include "wtf/ArrayBuffer.h" | 37 #include "wtf/ArrayBuffer.h" |
38 | 38 |
39 namespace WebCore { | 39 namespace WebCore { |
40 | 40 |
41 struct MessageEventInit : public EventInit { | 41 struct MessageEventInit : public EventInit { |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 // m_ports are the MessagePorts in an engtangled state, and m_channels are | 136 // m_ports are the MessagePorts in an engtangled state, and m_channels are |
137 // the MessageChannels in a disentangled state. Only one of them can be | 137 // the MessageChannels in a disentangled state. Only one of them can be |
138 // non-empty at a time. entangleMessagePorts() moves between the states. | 138 // non-empty at a time. entangleMessagePorts() moves between the states. |
139 OwnPtrWillBeMember<MessagePortArray> m_ports; | 139 OwnPtrWillBeMember<MessagePortArray> m_ports; |
140 OwnPtr<MessagePortChannelArray> m_channels; | 140 OwnPtr<MessagePortChannelArray> m_channels; |
141 }; | 141 }; |
142 | 142 |
143 } // namespace WebCore | 143 } // namespace WebCore |
144 | 144 |
145 #endif // MessageEvent_h | 145 #endif // MessageEvent_h |
OLD | NEW |