| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple 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 |
| 11 * documentation and/or other materials provided with the distribution. | 11 * documentation and/or other materials provided with the distribution. |
| 12 * | 12 * |
| 13 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY | 13 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY |
| 14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | 14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | 15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR | 16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR |
| 17 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | 17 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 18 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | 18 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | 19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 20 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 20 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #include "config.h" | 26 #include "config.h" |
| 27 #include "core/html/HTMLMediaElement.h" | 27 #include "core/html/HTMLMediaElement.h" |
| 28 | 28 |
| 29 #include <wtf/CurrentTime.h> | |
| 30 #include <wtf/MathExtras.h> | |
| 31 #include <wtf/MemoryInstrumentationVector.h> | |
| 32 #include <wtf/NonCopyingSort.h> | |
| 33 #include <wtf/text/CString.h> | |
| 34 #include <wtf/Uint8Array.h> | |
| 35 #include <limits> | |
| 36 #include "HTMLNames.h" | 29 #include "HTMLNames.h" |
| 37 #include "RuntimeEnabledFeatures.h" | 30 #include "RuntimeEnabledFeatures.h" |
| 38 #include "bindings/v8/ScriptController.h" | 31 #include "bindings/v8/ScriptController.h" |
| 39 #include "bindings/v8/ScriptEventListener.h" | 32 #include "bindings/v8/ScriptEventListener.h" |
| 40 #include "core/css/MediaList.h" | 33 #include "core/css/MediaList.h" |
| 41 #include "core/css/MediaQueryEvaluator.h" | 34 #include "core/css/MediaQueryEvaluator.h" |
| 42 #include "core/dom/Attribute.h" | 35 #include "core/dom/Attribute.h" |
| 43 #include "core/dom/Event.h" | 36 #include "core/dom/Event.h" |
| 44 #include "core/dom/EventNames.h" | 37 #include "core/dom/EventNames.h" |
| 45 #include "core/dom/ExceptionCode.h" | 38 #include "core/dom/ExceptionCode.h" |
| 46 #include "core/dom/ExceptionCodePlaceholder.h" | 39 #include "core/dom/ExceptionCodePlaceholder.h" |
| 47 #include "core/dom/FullscreenController.h" | 40 #include "core/dom/FullscreenController.h" |
| 48 #include "core/dom/NodeRenderingContext.h" | 41 #include "core/dom/NodeRenderingContext.h" |
| 49 #include "core/dom/WebCoreMemoryInstrumentation.h" | 42 #include "core/dom/WebCoreMemoryInstrumentation.h" |
| 50 #include "core/dom/shadow/ShadowRoot.h" | 43 #include "core/dom/shadow/ShadowRoot.h" |
| 51 #include "core/html/HTMLSourceElement.h" | 44 #include "core/html/HTMLSourceElement.h" |
| 52 #include "core/html/HTMLTrackElement.h" | 45 #include "core/html/HTMLTrackElement.h" |
| 53 #include "core/html/MediaController.h" | 46 #include "core/html/MediaController.h" |
| 54 #include "core/html/MediaDocument.h" | |
| 55 #include "core/html/MediaError.h" | 47 #include "core/html/MediaError.h" |
| 56 #include "core/html/MediaFragmentURIParser.h" | 48 #include "core/html/MediaFragmentURIParser.h" |
| 57 #include "core/html/MediaKeyError.h" | 49 #include "core/html/MediaKeyError.h" |
| 58 #include "core/html/MediaKeyEvent.h" | 50 #include "core/html/MediaKeyEvent.h" |
| 59 #include "core/html/TimeRanges.h" | 51 #include "core/html/TimeRanges.h" |
| 60 #include "core/html/shadow/MediaControls.h" | 52 #include "core/html/shadow/MediaControls.h" |
| 61 #include "core/html/track/InbandTextTrack.h" | 53 #include "core/html/track/InbandTextTrack.h" |
| 62 #include "core/html/track/TextTrackCueList.h" | 54 #include "core/html/track/TextTrackCueList.h" |
| 63 #include "core/html/track/TextTrackList.h" | 55 #include "core/html/track/TextTrackList.h" |
| 64 #include "core/loader/FrameLoader.h" | 56 #include "core/loader/FrameLoader.h" |
| 65 #include "core/page/ContentSecurityPolicy.h" | 57 #include "core/page/ContentSecurityPolicy.h" |
| 66 #include "core/page/Frame.h" | 58 #include "core/page/Frame.h" |
| 67 #include "core/page/FrameView.h" | |
| 68 #include "core/page/Page.h" | 59 #include "core/page/Page.h" |
| 69 #include "core/page/PageGroup.h" | |
| 70 #include "core/page/Settings.h" | 60 #include "core/page/Settings.h" |
| 71 #include "core/platform/ContentType.h" | 61 #include "core/platform/ContentType.h" |
| 72 #include "core/platform/Language.h" | 62 #include "core/platform/Language.h" |
| 73 #include "core/platform/Logging.h" | 63 #include "core/platform/Logging.h" |
| 74 #include "core/platform/MIMETypeFromURL.h" | 64 #include "core/platform/MIMETypeFromURL.h" |
| 75 #include "core/platform/MIMETypeRegistry.h" | 65 #include "core/platform/MIMETypeRegistry.h" |
| 76 #include "core/platform/NotImplemented.h" | 66 #include "core/platform/NotImplemented.h" |
| 77 #include "core/platform/graphics/InbandTextTrackPrivate.h" | 67 #include "core/platform/graphics/InbandTextTrackPrivate.h" |
| 78 #include "core/platform/graphics/MediaPlayer.h" | 68 #include "core/platform/graphics/MediaPlayer.h" |
| 79 #include "core/rendering/RenderLayerCompositor.h" | |
| 80 #include "core/rendering/RenderVideo.h" | 69 #include "core/rendering/RenderVideo.h" |
| 81 #include "core/rendering/RenderView.h" | |
| 82 #include "modules/mediasource/MediaSourceBase.h" | 70 #include "modules/mediasource/MediaSourceBase.h" |
| 83 #include "modules/mediasource/MediaSourceRegistry.h" | 71 #include "modules/mediasource/MediaSourceRegistry.h" |
| 84 #include "modules/mediastream/MediaStreamRegistry.h" | 72 #include "modules/mediastream/MediaStreamRegistry.h" |
| 73 #include "public/platform/Platform.h" |
| 85 #include "weborigin/SecurityOrigin.h" | 74 #include "weborigin/SecurityOrigin.h" |
| 86 #include "weborigin/SecurityPolicy.h" | 75 #include "wtf/CurrentTime.h" |
| 87 #include "public/platform/Platform.h" | 76 #include "wtf/MathExtras.h" |
| 77 #include "wtf/MemoryInstrumentationVector.h" |
| 78 #include "wtf/NonCopyingSort.h" |
| 79 #include "wtf/Uint8Array.h" |
| 80 #include "wtf/text/CString.h" |
| 81 #include <limits> |
| 88 | 82 |
| 89 #if ENABLE(WEB_AUDIO) | 83 #if ENABLE(WEB_AUDIO) |
| 90 #include "core/platform/audio/AudioSourceProvider.h" | 84 #include "core/platform/audio/AudioSourceProvider.h" |
| 91 #include "modules/webaudio/MediaElementAudioSourceNode.h" | 85 #include "modules/webaudio/MediaElementAudioSourceNode.h" |
| 92 #endif | 86 #endif |
| 93 | 87 |
| 94 #if ENABLE(ENCRYPTED_MEDIA_V2) | 88 #if ENABLE(ENCRYPTED_MEDIA_V2) |
| 95 // FIXME: Remove dependency on modules/encryptedmedia (http://crbug.com/242754). | 89 // FIXME: Remove dependency on modules/encryptedmedia (http://crbug.com/242754). |
| 96 #include "modules/encryptedmedia/MediaKeyNeededEvent.h" | 90 #include "modules/encryptedmedia/MediaKeyNeededEvent.h" |
| 97 #include "modules/encryptedmedia/MediaKeys.h" | 91 #include "modules/encryptedmedia/MediaKeys.h" |
| (...skipping 3873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3971 info.addMember(m_mediaGroup, "mediaGroup"); | 3965 info.addMember(m_mediaGroup, "mediaGroup"); |
| 3972 info.addMember(m_mediaController, "mediaController"); | 3966 info.addMember(m_mediaController, "mediaController"); |
| 3973 | 3967 |
| 3974 #if ENABLE(WEB_AUDIO) | 3968 #if ENABLE(WEB_AUDIO) |
| 3975 info.addMember(m_audioSourceNode, "audioSourceNode"); | 3969 info.addMember(m_audioSourceNode, "audioSourceNode"); |
| 3976 #endif | 3970 #endif |
| 3977 | 3971 |
| 3978 } | 3972 } |
| 3979 | 3973 |
| 3980 } | 3974 } |
| OLD | NEW |