OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012, 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 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 |
(...skipping 24 matching lines...) Expand all Loading... |
35 class Document; | 35 class Document; |
36 class InbandTextTrackPrivate; | 36 class InbandTextTrackPrivate; |
37 class MediaPlayer; | 37 class MediaPlayer; |
38 class TextTrackCue; | 38 class TextTrackCue; |
39 | 39 |
40 class InbandTextTrack : public TextTrack, public InbandTextTrackPrivateClient { | 40 class InbandTextTrack : public TextTrack, public InbandTextTrackPrivateClient { |
41 public: | 41 public: |
42 static PassRefPtr<InbandTextTrack> create(Document&, TextTrackClient*, PassR
efPtr<InbandTextTrackPrivate>); | 42 static PassRefPtr<InbandTextTrack> create(Document&, TextTrackClient*, PassR
efPtr<InbandTextTrackPrivate>); |
43 virtual ~InbandTextTrack(); | 43 virtual ~InbandTextTrack(); |
44 | 44 |
45 virtual void setMode(const AtomicString&) OVERRIDE; | |
46 size_t inbandTrackIndex(); | 45 size_t inbandTrackIndex(); |
47 void trackRemoved(); | 46 void trackRemoved(); |
48 | 47 |
49 private: | 48 private: |
50 InbandTextTrack(Document&, TextTrackClient*, PassRefPtr<InbandTextTrackPriva
te>); | 49 InbandTextTrack(Document&, TextTrackClient*, PassRefPtr<InbandTextTrackPriva
te>); |
51 | 50 |
52 virtual void addWebVTTCue(InbandTextTrackPrivate*, double, double, const Str
ing&, const String&, const String&) OVERRIDE; | 51 virtual void addWebVTTCue(InbandTextTrackPrivate*, double, double, const Str
ing&, const String&, const String&) OVERRIDE; |
53 | 52 |
54 RefPtr<InbandTextTrackPrivate> m_private; | 53 RefPtr<InbandTextTrackPrivate> m_private; |
55 }; | 54 }; |
56 | 55 |
57 } // namespace WebCore | 56 } // namespace WebCore |
58 | 57 |
59 #endif | 58 #endif |
OLD | NEW |