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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 static PassRefPtr<MediaKeyMessageEvent> create(const AtomicString& type, con
st MediaKeyMessageEventInit& initializer) | 51 static PassRefPtr<MediaKeyMessageEvent> create(const AtomicString& type, con
st MediaKeyMessageEventInit& initializer) |
52 { | 52 { |
53 return adoptRef(new MediaKeyMessageEvent(type, initializer)); | 53 return adoptRef(new MediaKeyMessageEvent(type, initializer)); |
54 } | 54 } |
55 | 55 |
56 virtual const AtomicString& interfaceName() const OVERRIDE; | 56 virtual const AtomicString& interfaceName() const OVERRIDE; |
57 | 57 |
58 Uint8Array* message() const { return m_message.get(); } | 58 Uint8Array* message() const { return m_message.get(); } |
59 String destinationURL() const { return m_destinationURL; } | 59 String destinationURL() const { return m_destinationURL; } |
60 | 60 |
| 61 virtual void trace(Visitor*) OVERRIDE; |
| 62 |
61 private: | 63 private: |
62 MediaKeyMessageEvent(); | 64 MediaKeyMessageEvent(); |
63 MediaKeyMessageEvent(const AtomicString& type, const MediaKeyMessageEventIni
t& initializer); | 65 MediaKeyMessageEvent(const AtomicString& type, const MediaKeyMessageEventIni
t& initializer); |
64 | 66 |
65 RefPtr<Uint8Array> m_message; | 67 RefPtr<Uint8Array> m_message; |
66 String m_destinationURL; | 68 String m_destinationURL; |
67 }; | 69 }; |
68 | 70 |
69 } // namespace WebCore | 71 } // namespace WebCore |
70 | 72 |
71 #endif | 73 #endif |
OLD | NEW |