| 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 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 #include "bindings/core/v8/ActiveScriptWrappable.h" | 30 #include "bindings/core/v8/ActiveScriptWrappable.h" |
| 31 #include "bindings/core/v8/ScriptPromise.h" | 31 #include "bindings/core/v8/ScriptPromise.h" |
| 32 #include "bindings/core/v8/TraceWrapperMember.h" | 32 #include "bindings/core/v8/TraceWrapperMember.h" |
| 33 #include "core/CoreExport.h" | 33 #include "core/CoreExport.h" |
| 34 #include "core/dom/ActiveDOMObject.h" | 34 #include "core/dom/ActiveDOMObject.h" |
| 35 #include "core/dom/ExceptionCode.h" | 35 #include "core/dom/ExceptionCode.h" |
| 36 #include "core/events/GenericEventQueue.h" | 36 #include "core/events/GenericEventQueue.h" |
| 37 #include "core/html/HTMLElement.h" | 37 #include "core/html/HTMLElement.h" |
| 38 #include "core/html/track/TextTrack.h" | 38 #include "core/html/track/TextTrack.h" |
| 39 #include "platform/MIMETypeRegistry.h" | |
| 40 #include "platform/Supplementable.h" | 39 #include "platform/Supplementable.h" |
| 41 #include "platform/WebTaskRunner.h" | 40 #include "platform/WebTaskRunner.h" |
| 42 #include "platform/audio/AudioSourceProvider.h" | 41 #include "platform/audio/AudioSourceProvider.h" |
| 42 #include "platform/network/mime/MIMETypeRegistry.h" |
| 43 #include "public/platform/WebAudioSourceProviderClient.h" | 43 #include "public/platform/WebAudioSourceProviderClient.h" |
| 44 #include "public/platform/WebMediaPlayerClient.h" | 44 #include "public/platform/WebMediaPlayerClient.h" |
| 45 #include <memory> | 45 #include <memory> |
| 46 | 46 |
| 47 namespace blink { | 47 namespace blink { |
| 48 | 48 |
| 49 class AudioSourceProviderClient; | 49 class AudioSourceProviderClient; |
| 50 class AudioTrack; | 50 class AudioTrack; |
| 51 class AudioTrackList; | 51 class AudioTrackList; |
| 52 class AutoplayUmaHelper; | 52 class AutoplayUmaHelper; |
| (...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 741 | 741 |
| 742 inline bool isHTMLMediaElement(const HTMLElement& element) { | 742 inline bool isHTMLMediaElement(const HTMLElement& element) { |
| 743 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 743 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
| 744 } | 744 } |
| 745 | 745 |
| 746 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 746 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
| 747 | 747 |
| 748 } // namespace blink | 748 } // namespace blink |
| 749 | 749 |
| 750 #endif // HTMLMediaElement_h | 750 #endif // HTMLMediaElement_h |
| OLD | NEW |