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

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

Issue 1659653002: Pass MSE media track info from ChunkDemuxer to blink::SourceBuffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use-media-tracks-in-media
Patch Set: nit Created 4 years, 8 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) 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 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
(...skipping 22 matching lines...) Expand all
33 #include "platform/heap/Handle.h" 33 #include "platform/heap/Handle.h"
34 #include "wtf/PassRefPtr.h" 34 #include "wtf/PassRefPtr.h"
35 #include "wtf/RefCounted.h" 35 #include "wtf/RefCounted.h"
36 #include "wtf/Vector.h" 36 #include "wtf/Vector.h"
37 37
38 namespace blink { 38 namespace blink {
39 39
40 class GenericEventQueue; 40 class GenericEventQueue;
41 class TextTrack; 41 class TextTrack;
42 42
43 class TextTrackList final : public RefCountedGarbageCollectedEventTargetWithInli neData<TextTrackList> { 43 class CORE_EXPORT TextTrackList final : public RefCountedGarbageCollectedEventTa rgetWithInlineData<TextTrackList> {
44 DEFINE_WRAPPERTYPEINFO(); 44 DEFINE_WRAPPERTYPEINFO();
45 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(TextTrackList); 45 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(TextTrackList);
46 public: 46 public:
47 static TextTrackList* create(HTMLMediaElement* owner) 47 static TextTrackList* create(HTMLMediaElement* owner)
48 { 48 {
49 return new TextTrackList(owner); 49 return new TextTrackList(owner);
50 } 50 }
51 ~TextTrackList() override; 51 ~TextTrackList() override;
52 52
53 unsigned length() const; 53 unsigned length() const;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 OwnPtrWillBeMember<GenericEventQueue> m_asyncEventQueue; 95 OwnPtrWillBeMember<GenericEventQueue> m_asyncEventQueue;
96 96
97 HeapVector<Member<TextTrack>> m_addTrackTracks; 97 HeapVector<Member<TextTrack>> m_addTrackTracks;
98 HeapVector<Member<TextTrack>> m_elementTracks; 98 HeapVector<Member<TextTrack>> m_elementTracks;
99 HeapVector<Member<TextTrack>> m_inbandTracks; 99 HeapVector<Member<TextTrack>> m_inbandTracks;
100 }; 100 };
101 101
102 } // namespace blink 102 } // namespace blink
103 103
104 #endif // TextTrackList_h 104 #endif // TextTrackList_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698