OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 AtomicString InbandTextTrackPrivateImpl::label() const | 67 AtomicString InbandTextTrackPrivateImpl::label() const |
68 { | 68 { |
69 return m_track->label(); | 69 return m_track->label(); |
70 } | 70 } |
71 | 71 |
72 AtomicString InbandTextTrackPrivateImpl::language() const | 72 AtomicString InbandTextTrackPrivateImpl::language() const |
73 { | 73 { |
74 return m_track->language(); | 74 return m_track->language(); |
75 } | 75 } |
76 | 76 |
77 bool InbandTextTrackPrivateImpl::isDefault() const | |
78 { | |
79 return m_track->isDefault(); | |
80 } | |
81 | |
82 int InbandTextTrackPrivateImpl::textTrackIndex() const | 77 int InbandTextTrackPrivateImpl::textTrackIndex() const |
83 { | 78 { |
84 return m_track->textTrackIndex(); | 79 return m_track->textTrackIndex(); |
85 } | 80 } |
86 | 81 |
87 void InbandTextTrackPrivateImpl::addWebVTTCue( | 82 void InbandTextTrackPrivateImpl::addWebVTTCue( |
88 double start, | 83 double start, |
89 double end, | 84 double end, |
90 const WebString& id, | 85 const WebString& id, |
91 const WebString& content, | 86 const WebString& content, |
92 const WebString& settings) | 87 const WebString& settings) |
93 { | 88 { |
94 client()->addWebVTTCue(this, start, end, id, content, settings); | 89 client()->addWebVTTCue(this, start, end, id, content, settings); |
95 } | 90 } |
96 | 91 |
97 } // namespace WebKit | 92 } // namespace WebKit |
OLD | NEW |