| 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 30 matching lines...) Expand all Loading... |
| 41 namespace WebKit { | 41 namespace WebKit { |
| 42 | 42 |
| 43 class WebInbandTextTrack; | 43 class WebInbandTextTrack; |
| 44 | 44 |
| 45 class InbandTextTrackPrivateImpl : public WebCore::InbandTextTrackPrivate, | 45 class InbandTextTrackPrivateImpl : public WebCore::InbandTextTrackPrivate, |
| 46 public WebInbandTextTrackClient { | 46 public WebInbandTextTrackClient { |
| 47 public: | 47 public: |
| 48 explicit InbandTextTrackPrivateImpl(WebInbandTextTrack*); | 48 explicit InbandTextTrackPrivateImpl(WebInbandTextTrack*); |
| 49 virtual ~InbandTextTrackPrivateImpl(); | 49 virtual ~InbandTextTrackPrivateImpl(); |
| 50 | 50 |
| 51 // InbandTextTrackPrivate methods. | |
| 52 virtual void setMode(Mode); | |
| 53 virtual InbandTextTrackPrivate::Mode mode() const; | |
| 54 | |
| 55 virtual Kind kind() const; | 51 virtual Kind kind() const; |
| 56 | |
| 57 virtual AtomicString label() const; | 52 virtual AtomicString label() const; |
| 58 virtual AtomicString language() const; | 53 virtual AtomicString language() const; |
| 59 | 54 |
| 60 virtual int textTrackIndex() const; | 55 virtual int textTrackIndex() const; |
| 61 | 56 |
| 62 // WebInbandTextTrackClient methods. | 57 // WebInbandTextTrackClient methods. |
| 63 virtual void addWebVTTCue(double start, | 58 virtual void addWebVTTCue(double start, |
| 64 double end, | 59 double end, |
| 65 const WebString& id, | 60 const WebString& id, |
| 66 const WebString& content, | 61 const WebString& content, |
| 67 const WebString& settings); | 62 const WebString& settings); |
| 68 | 63 |
| 69 private: | 64 private: |
| 70 WebInbandTextTrack* m_track; | 65 WebInbandTextTrack* m_track; |
| 71 }; | 66 }; |
| 72 | 67 |
| 73 } | 68 } |
| 74 | 69 |
| 75 #endif | 70 #endif |
| OLD | NEW |