| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013 Apple Inc. All rights reserved. |
| 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 12 matching lines...) Expand all Loading... |
| 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 #ifndef MediaKeyMessageEvent_h | 27 #ifndef MediaKeyMessageEvent_h |
| 28 #define MediaKeyMessageEvent_h | 28 #define MediaKeyMessageEvent_h |
| 29 | 29 |
| 30 #include "core/html/MediaKeyError.h" | 30 #include "core/html/MediaKeyError.h" |
| 31 #include "modules/EventModules.h" | 31 #include "modules/EventModules.h" |
| 32 | 32 |
| 33 namespace WebCore { | 33 namespace blink { |
| 34 | 34 |
| 35 struct MediaKeyMessageEventInit : public EventInit { | 35 struct MediaKeyMessageEventInit : public EventInit { |
| 36 MediaKeyMessageEventInit(); | 36 MediaKeyMessageEventInit(); |
| 37 | 37 |
| 38 RefPtr<Uint8Array> message; | 38 RefPtr<Uint8Array> message; |
| 39 String destinationURL; | 39 String destinationURL; |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 class MediaKeyMessageEvent FINAL : public Event { | 42 class MediaKeyMessageEvent FINAL : public Event { |
| 43 public: | 43 public: |
| (...skipping 17 matching lines...) Expand all Loading... |
| 61 virtual void trace(Visitor*) OVERRIDE; | 61 virtual void trace(Visitor*) OVERRIDE; |
| 62 | 62 |
| 63 private: | 63 private: |
| 64 MediaKeyMessageEvent(); | 64 MediaKeyMessageEvent(); |
| 65 MediaKeyMessageEvent(const AtomicString& type, const MediaKeyMessageEventIni
t& initializer); | 65 MediaKeyMessageEvent(const AtomicString& type, const MediaKeyMessageEventIni
t& initializer); |
| 66 | 66 |
| 67 RefPtr<Uint8Array> m_message; | 67 RefPtr<Uint8Array> m_message; |
| 68 String m_destinationURL; | 68 String m_destinationURL; |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 } // namespace WebCore | 71 } // namespace blink |
| 72 | 72 |
| 73 #endif | 73 #endif |
| OLD | NEW |