| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 WebCore::InbandTextTrackPrivate::Mode InbandTextTrackPrivateImpl::mode() const | 57 WebCore::InbandTextTrackPrivate::Mode InbandTextTrackPrivateImpl::mode() const |
| 58 { | 58 { |
| 59 return static_cast<WebCore::InbandTextTrackPrivate::Mode>(m_track->mode()); | 59 return static_cast<WebCore::InbandTextTrackPrivate::Mode>(m_track->mode()); |
| 60 } | 60 } |
| 61 | 61 |
| 62 WebCore::InbandTextTrackPrivate::Kind InbandTextTrackPrivateImpl::kind() const | 62 WebCore::InbandTextTrackPrivate::Kind InbandTextTrackPrivateImpl::kind() const |
| 63 { | 63 { |
| 64 return static_cast<WebCore::InbandTextTrackPrivate::Kind>(m_track->kind()); | 64 return static_cast<WebCore::InbandTextTrackPrivate::Kind>(m_track->kind()); |
| 65 } | 65 } |
| 66 | 66 |
| 67 bool InbandTextTrackPrivateImpl::isClosedCaptions() const | |
| 68 { | |
| 69 return m_track->isClosedCaptions(); | |
| 70 } | |
| 71 | |
| 72 AtomicString InbandTextTrackPrivateImpl::label() const | 67 AtomicString InbandTextTrackPrivateImpl::label() const |
| 73 { | 68 { |
| 74 return m_track->label(); | 69 return m_track->label(); |
| 75 } | 70 } |
| 76 | 71 |
| 77 AtomicString InbandTextTrackPrivateImpl::language() const | 72 AtomicString InbandTextTrackPrivateImpl::language() const |
| 78 { | 73 { |
| 79 return m_track->language(); | 74 return m_track->language(); |
| 80 } | 75 } |
| 81 | 76 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 93 double start, | 88 double start, |
| 94 double end, | 89 double end, |
| 95 const WebString& id, | 90 const WebString& id, |
| 96 const WebString& content, | 91 const WebString& content, |
| 97 const WebString& settings) | 92 const WebString& settings) |
| 98 { | 93 { |
| 99 client()->addWebVTTCue(this, start, end, id, content, settings); | 94 client()->addWebVTTCue(this, start, end, id, content, settings); |
| 100 } | 95 } |
| 101 | 96 |
| 102 } // namespace WebKit | 97 } // namespace WebKit |
| OLD | NEW |