| 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 "HTMLMediaElement.h" | 27 #include "core/html/HTMLMediaElement.h" |
| 28 | 28 |
| 29 #include <limits> | 29 #include <limits> |
| 30 #include "CSSPropertyNames.h" | 30 #include "CSSPropertyNames.h" |
| 31 #include "CSSValueKeywords.h" | 31 #include "CSSValueKeywords.h" |
| 32 #include "HTMLDocument.h" | |
| 33 #include "HTMLNames.h" | 32 #include "HTMLNames.h" |
| 34 #include "HTMLSourceElement.h" | |
| 35 #include "HTMLVideoElement.h" | |
| 36 #include "MediaController.h" | |
| 37 #include "MediaDocument.h" | |
| 38 #include "MediaError.h" | |
| 39 #include "MediaFragmentURIParser.h" | |
| 40 #include "MediaKeyError.h" | |
| 41 #include "MediaKeyEvent.h" | |
| 42 #include "TimeRanges.h" | |
| 43 #include "bindings/v8/ScriptController.h" | 33 #include "bindings/v8/ScriptController.h" |
| 44 #include "bindings/v8/ScriptEventListener.h" | 34 #include "bindings/v8/ScriptEventListener.h" |
| 45 #include "core/css/MediaList.h" | 35 #include "core/css/MediaList.h" |
| 46 #include "core/css/MediaQueryEvaluator.h" | 36 #include "core/css/MediaQueryEvaluator.h" |
| 47 #include "core/dom/Attribute.h" | 37 #include "core/dom/Attribute.h" |
| 48 #include "core/dom/ClientRect.h" | 38 #include "core/dom/ClientRect.h" |
| 49 #include "core/dom/ClientRectList.h" | 39 #include "core/dom/ClientRectList.h" |
| 50 #include "core/dom/ElementShadow.h" | 40 #include "core/dom/ElementShadow.h" |
| 51 #include "core/dom/Event.h" | 41 #include "core/dom/Event.h" |
| 52 #include "core/dom/EventNames.h" | 42 #include "core/dom/EventNames.h" |
| 53 #include "core/dom/ExceptionCode.h" | 43 #include "core/dom/ExceptionCode.h" |
| 54 #include "core/dom/ExceptionCodePlaceholder.h" | 44 #include "core/dom/ExceptionCodePlaceholder.h" |
| 55 #include "core/dom/MouseEvent.h" | 45 #include "core/dom/MouseEvent.h" |
| 56 #include "core/dom/NodeRenderingContext.h" | 46 #include "core/dom/NodeRenderingContext.h" |
| 57 #include "core/dom/ShadowRoot.h" | 47 #include "core/dom/ShadowRoot.h" |
| 58 #include "core/dom/WebCoreMemoryInstrumentation.h" | 48 #include "core/dom/WebCoreMemoryInstrumentation.h" |
| 49 #include "core/html/HTMLDocument.h" |
| 50 #include "core/html/HTMLSourceElement.h" |
| 51 #include "core/html/HTMLVideoElement.h" |
| 52 #include "core/html/MediaController.h" |
| 53 #include "core/html/MediaDocument.h" |
| 54 #include "core/html/MediaError.h" |
| 55 #include "core/html/MediaFragmentURIParser.h" |
| 56 #include "core/html/MediaKeyError.h" |
| 57 #include "core/html/MediaKeyEvent.h" |
| 58 #include "core/html/TimeRanges.h" |
| 59 #include "core/html/shadow/MediaControls.h" | 59 #include "core/html/shadow/MediaControls.h" |
| 60 #include "core/loader/DocumentLoader.h" | 60 #include "core/loader/DocumentLoader.h" |
| 61 #include "core/loader/FrameLoader.h" | 61 #include "core/loader/FrameLoader.h" |
| 62 #include "core/loader/FrameLoaderClient.h" | 62 #include "core/loader/FrameLoaderClient.h" |
| 63 #include "core/loader/appcache/ApplicationCacheHost.h" | 63 #include "core/loader/appcache/ApplicationCacheHost.h" |
| 64 #include "core/page/Chrome.h" | 64 #include "core/page/Chrome.h" |
| 65 #include "core/page/ChromeClient.h" | 65 #include "core/page/ChromeClient.h" |
| 66 #include "core/page/ContentSecurityPolicy.h" | 66 #include "core/page/ContentSecurityPolicy.h" |
| 67 #include "core/page/DiagnosticLoggingKeys.h" | 67 #include "core/page/DiagnosticLoggingKeys.h" |
| 68 #include "core/page/Frame.h" | 68 #include "core/page/Frame.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 82 #include "core/rendering/RenderView.h" | 82 #include "core/rendering/RenderView.h" |
| 83 #include "modules/mediasource/MediaSource.h" | 83 #include "modules/mediasource/MediaSource.h" |
| 84 #include "modules/mediasource/MediaSourceRegistry.h" | 84 #include "modules/mediasource/MediaSourceRegistry.h" |
| 85 #include <wtf/CurrentTime.h> | 85 #include <wtf/CurrentTime.h> |
| 86 #include <wtf/MathExtras.h> | 86 #include <wtf/MathExtras.h> |
| 87 #include <wtf/MemoryInstrumentationVector.h> | 87 #include <wtf/MemoryInstrumentationVector.h> |
| 88 #include <wtf/NonCopyingSort.h> | 88 #include <wtf/NonCopyingSort.h> |
| 89 #include <wtf/text/CString.h> | 89 #include <wtf/text/CString.h> |
| 90 #include <wtf/Uint8Array.h> | 90 #include <wtf/Uint8Array.h> |
| 91 | 91 |
| 92 #include "HTMLTrackElement.h" | 92 #include "core/html/HTMLTrackElement.h" |
| 93 #include "core/html/track/InbandTextTrack.h" | 93 #include "core/html/track/InbandTextTrack.h" |
| 94 #include "core/html/track/TextTrackCueList.h" | 94 #include "core/html/track/TextTrackCueList.h" |
| 95 #include "core/html/track/TextTrackList.h" | 95 #include "core/html/track/TextTrackList.h" |
| 96 #include "core/page/CaptionUserPreferences.h" | 96 #include "core/page/CaptionUserPreferences.h" |
| 97 #include "core/page/RuntimeEnabledFeatures.h" | 97 #include "core/page/RuntimeEnabledFeatures.h" |
| 98 #include "core/platform/graphics/InbandTextTrackPrivate.h" | 98 #include "core/platform/graphics/InbandTextTrackPrivate.h" |
| 99 | 99 |
| 100 #if ENABLE(WEB_AUDIO) | 100 #if ENABLE(WEB_AUDIO) |
| 101 #include "core/platform/audio/AudioSourceProvider.h" | 101 #include "core/platform/audio/AudioSourceProvider.h" |
| 102 #include "modules/webaudio/MediaElementAudioSourceNode.h" | 102 #include "modules/webaudio/MediaElementAudioSourceNode.h" |
| (...skipping 4339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4442 info.addMember(m_mediaGroup, "mediaGroup"); | 4442 info.addMember(m_mediaGroup, "mediaGroup"); |
| 4443 info.addMember(m_mediaController, "mediaController"); | 4443 info.addMember(m_mediaController, "mediaController"); |
| 4444 | 4444 |
| 4445 #if ENABLE(WEB_AUDIO) | 4445 #if ENABLE(WEB_AUDIO) |
| 4446 info.addMember(m_audioSourceNode, "audioSourceNode"); | 4446 info.addMember(m_audioSourceNode, "audioSourceNode"); |
| 4447 #endif | 4447 #endif |
| 4448 | 4448 |
| 4449 } | 4449 } |
| 4450 | 4450 |
| 4451 } | 4451 } |
| OLD | NEW |