| 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 15 matching lines...) Expand all Loading... |
| 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/v8/SerializedScriptValue.h" |
| 32 #include "core/dom/Event.h" | 32 #include "core/dom/Event.h" |
| 33 #include "core/dom/MessagePort.h" | 33 #include "core/dom/MessagePort.h" |
| 34 #include "core/fileapi/Blob.h" | 34 #include "core/fileapi/Blob.h" |
| 35 #include "core/page/DOMWindow.h" | 35 #include "core/page/DOMWindow.h" |
| 36 #include <wtf/ArrayBuffer.h> | 36 #include "wtf/ArrayBuffer.h" |
| 37 | 37 |
| 38 namespace WebCore { | 38 namespace WebCore { |
| 39 | 39 |
| 40 class DOMWindow; | 40 class DOMWindow; |
| 41 | 41 |
| 42 struct MessageEventInit : public EventInit { | 42 struct MessageEventInit : public EventInit { |
| 43 MessageEventInit(); | 43 MessageEventInit(); |
| 44 | 44 |
| 45 String origin; | 45 String origin; |
| 46 String lastEventId; | 46 String lastEventId; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 RefPtr<ArrayBuffer> m_dataAsArrayBuffer; | 120 RefPtr<ArrayBuffer> m_dataAsArrayBuffer; |
| 121 String m_origin; | 121 String m_origin; |
| 122 String m_lastEventId; | 122 String m_lastEventId; |
| 123 RefPtr<DOMWindow> m_source; | 123 RefPtr<DOMWindow> m_source; |
| 124 OwnPtr<MessagePortArray> m_ports; | 124 OwnPtr<MessagePortArray> m_ports; |
| 125 }; | 125 }; |
| 126 | 126 |
| 127 } // namespace WebCore | 127 } // namespace WebCore |
| 128 | 128 |
| 129 #endif // MessageEvent_h | 129 #endif // MessageEvent_h |
| OLD | NEW |