OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights | 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights |
3 * reserved. | 3 * 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 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 #ifndef HTMLMediaElement_h | 27 #ifndef HTMLMediaElement_h |
28 #define HTMLMediaElement_h | 28 #define HTMLMediaElement_h |
29 | 29 |
30 #include <memory> | 30 #include <memory> |
31 #include "bindings/core/v8/ActiveScriptWrappable.h" | |
32 #include "bindings/core/v8/Nullable.h" | 31 #include "bindings/core/v8/Nullable.h" |
33 #include "bindings/core/v8/ScriptPromise.h" | 32 #include "bindings/core/v8/ScriptPromise.h" |
34 #include "bindings/core/v8/TraceWrapperMember.h" | 33 #include "bindings/core/v8/TraceWrapperMember.h" |
35 #include "core/CoreExport.h" | 34 #include "core/CoreExport.h" |
36 #include "core/dom/ExceptionCode.h" | 35 #include "core/dom/ExceptionCode.h" |
37 #include "core/dom/SuspendableObject.h" | 36 #include "core/dom/SuspendableObject.h" |
38 #include "core/events/GenericEventQueue.h" | 37 #include "core/events/GenericEventQueue.h" |
39 #include "core/html/HTMLElement.h" | 38 #include "core/html/HTMLElement.h" |
40 #include "core/html/media/MediaControls.h" | 39 #include "core/html/media/MediaControls.h" |
41 #include "core/html/track/TextTrack.h" | 40 #include "core/html/track/TextTrack.h" |
42 #include "platform/Supplementable.h" | 41 #include "platform/Supplementable.h" |
43 #include "platform/WebTaskRunner.h" | 42 #include "platform/WebTaskRunner.h" |
44 #include "platform/audio/AudioSourceProvider.h" | 43 #include "platform/audio/AudioSourceProvider.h" |
| 44 #include "platform/bindings/ActiveScriptWrappable.h" |
45 #include "platform/network/mime/MIMETypeRegistry.h" | 45 #include "platform/network/mime/MIMETypeRegistry.h" |
46 #include "public/platform/WebAudioSourceProviderClient.h" | 46 #include "public/platform/WebAudioSourceProviderClient.h" |
47 #include "public/platform/WebMediaPlayerClient.h" | 47 #include "public/platform/WebMediaPlayerClient.h" |
48 | 48 |
49 namespace blink { | 49 namespace blink { |
50 | 50 |
51 class AudioSourceProviderClient; | 51 class AudioSourceProviderClient; |
52 class AudioTrack; | 52 class AudioTrack; |
53 class AudioTrackList; | 53 class AudioTrackList; |
54 class AutoplayPolicy; | 54 class AutoplayPolicy; |
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
739 | 739 |
740 inline bool IsHTMLMediaElement(const HTMLElement& element) { | 740 inline bool IsHTMLMediaElement(const HTMLElement& element) { |
741 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 741 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
742 } | 742 } |
743 | 743 |
744 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 744 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
745 | 745 |
746 } // namespace blink | 746 } // namespace blink |
747 | 747 |
748 #endif // HTMLMediaElement_h | 748 #endif // HTMLMediaElement_h |
OLD | NEW |