OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 24 matching lines...) Expand all Loading... |
35 { | 35 { |
36 } | 36 } |
37 | 37 |
38 MediaKeyNeededEvent::MediaKeyNeededEvent() | 38 MediaKeyNeededEvent::MediaKeyNeededEvent() |
39 { | 39 { |
40 ScriptWrappable::init(this); | 40 ScriptWrappable::init(this); |
41 } | 41 } |
42 | 42 |
43 MediaKeyNeededEvent::MediaKeyNeededEvent(const AtomicString& type, const MediaKe
yNeededEventInit& initializer) | 43 MediaKeyNeededEvent::MediaKeyNeededEvent(const AtomicString& type, const MediaKe
yNeededEventInit& initializer) |
44 : Event(type, initializer) | 44 : Event(type, initializer) |
| 45 , m_contentType(initializer.contentType) |
45 , m_initData(initializer.initData) | 46 , m_initData(initializer.initData) |
46 { | 47 { |
47 ScriptWrappable::init(this); | 48 ScriptWrappable::init(this); |
48 } | 49 } |
49 | 50 |
50 MediaKeyNeededEvent::~MediaKeyNeededEvent() | 51 MediaKeyNeededEvent::~MediaKeyNeededEvent() |
51 { | 52 { |
52 } | 53 } |
53 | 54 |
54 const AtomicString& MediaKeyNeededEvent::interfaceName() const | 55 const AtomicString& MediaKeyNeededEvent::interfaceName() const |
55 { | 56 { |
56 return EventNames::MediaKeyNeededEvent; | 57 return EventNames::MediaKeyNeededEvent; |
57 } | 58 } |
58 | 59 |
59 } // namespace WebCore | 60 } // namespace WebCore |
OLD | NEW |