Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.h

Issue 2848963002: Clean up bindings/core/v8 (Part 1) (Closed)
Patch Set: Fix build Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLImageElement.h ('k') | third_party/WebKit/Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698