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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 virtual ~InbandTextTrackPrivateImpl(); | 49 virtual ~InbandTextTrackPrivateImpl(); |
50 | 50 |
51 // InbandTextTrackPrivate methods. | 51 // InbandTextTrackPrivate methods. |
52 virtual void setMode(Mode); | 52 virtual void setMode(Mode); |
53 virtual InbandTextTrackPrivate::Mode mode() const; | 53 virtual InbandTextTrackPrivate::Mode mode() const; |
54 | 54 |
55 virtual Kind kind() const; | 55 virtual Kind kind() const; |
56 | 56 |
57 virtual AtomicString label() const; | 57 virtual AtomicString label() const; |
58 virtual AtomicString language() const; | 58 virtual AtomicString language() const; |
59 virtual bool isDefault() const; | |
60 | 59 |
61 virtual int textTrackIndex() const; | 60 virtual int textTrackIndex() const; |
62 | 61 |
63 // WebInbandTextTrackClient methods. | 62 // WebInbandTextTrackClient methods. |
64 virtual void addWebVTTCue(double start, | 63 virtual void addWebVTTCue(double start, |
65 double end, | 64 double end, |
66 const WebString& id, | 65 const WebString& id, |
67 const WebString& content, | 66 const WebString& content, |
68 const WebString& settings); | 67 const WebString& settings); |
69 | 68 |
70 private: | 69 private: |
71 WebInbandTextTrack* m_track; | 70 WebInbandTextTrack* m_track; |
72 }; | 71 }; |
73 | 72 |
74 } | 73 } |
75 | 74 |
76 #endif | 75 #endif |
OLD | NEW |