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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 virtual bool isEasyToRead() const OVERRIDE; | 49 virtual bool isEasyToRead() const OVERRIDE; |
50 virtual void setMode(const AtomicString&) OVERRIDE; | 50 virtual void setMode(const AtomicString&) OVERRIDE; |
51 size_t inbandTrackIndex(); | 51 size_t inbandTrackIndex(); |
52 | 52 |
53 private: | 53 private: |
54 InbandTextTrack(ScriptExecutionContext*, TextTrackClient*, PassRefPtr<Inband
TextTrackPrivate>); | 54 InbandTextTrack(ScriptExecutionContext*, TextTrackClient*, PassRefPtr<Inband
TextTrackPrivate>); |
55 | 55 |
56 virtual void addGenericCue(InbandTextTrackPrivate*, GenericCueData*) OVERRID
E; | 56 virtual void addGenericCue(InbandTextTrackPrivate*, GenericCueData*) OVERRID
E; |
57 virtual void addWebVTTCue(InbandTextTrackPrivate*, double, double, const Str
ing&, const String&, const String&) OVERRIDE; | 57 virtual void addWebVTTCue(InbandTextTrackPrivate*, double, double, const Str
ing&, const String&, const String&) OVERRIDE; |
58 | 58 |
59 #if USE(PLATFORM_TEXT_TRACK_MENU) | |
60 virtual InbandTextTrackPrivate* privateTrack() OVERRIDE { return m_private.g
et(); } | |
61 #endif | |
62 | |
63 RefPtr<InbandTextTrackPrivate> m_private; | 59 RefPtr<InbandTextTrackPrivate> m_private; |
64 }; | 60 }; |
65 | 61 |
66 } // namespace WebCore | 62 } // namespace WebCore |
67 | 63 |
68 #endif | 64 #endif |
OLD | NEW |