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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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. | 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 virtual bool isClosedCaptions() const; | |
57 | 56 |
58 virtual AtomicString label() const; | 57 virtual AtomicString label() const; |
59 virtual AtomicString language() const; | 58 virtual AtomicString language() const; |
60 virtual bool isDefault() const; | 59 virtual bool isDefault() const; |
61 | 60 |
62 virtual int textTrackIndex() const; | 61 virtual int textTrackIndex() const; |
63 | 62 |
64 // WebInbandTextTrackClient methods. | 63 // WebInbandTextTrackClient methods. |
65 virtual void addWebVTTCue(double start, | 64 virtual void addWebVTTCue(double start, |
66 double end, | 65 double end, |
67 const WebString& id, | 66 const WebString& id, |
68 const WebString& content, | 67 const WebString& content, |
69 const WebString& settings); | 68 const WebString& settings); |
70 | 69 |
71 private: | 70 private: |
72 WebInbandTextTrack* m_track; | 71 WebInbandTextTrack* m_track; |
73 }; | 72 }; |
74 | 73 |
75 } | 74 } |
76 | 75 |
77 #endif | 76 #endif |
OLD | NEW |