| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Ericsson AB. All rights reserved. | 3 * Copyright (C) 2011 Ericsson AB. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 String id() const; | 56 String id() const; |
| 57 String label() const; | 57 String label() const; |
| 58 | 58 |
| 59 bool enabled() const; | 59 bool enabled() const; |
| 60 void setEnabled(bool); | 60 void setEnabled(bool); |
| 61 | 61 |
| 62 bool muted() const; | 62 bool muted() const; |
| 63 | 63 |
| 64 String readyState() const; | 64 String readyState() const; |
| 65 | 65 |
| 66 static void getSources(ExecutionContext*, PassOwnPtrWillBeRawPtr<MediaStream
TrackSourcesCallback>, ExceptionState&); | 66 static void getSources(ExecutionContext*, MediaStreamTrackSourcesCallback*,
ExceptionState&); |
| 67 void stopTrack(ExceptionState&); | 67 void stopTrack(ExceptionState&); |
| 68 MediaStreamTrack* clone(ExecutionContext*); | 68 MediaStreamTrack* clone(ExecutionContext*); |
| 69 | 69 |
| 70 DEFINE_ATTRIBUTE_EVENT_LISTENER(mute); | 70 DEFINE_ATTRIBUTE_EVENT_LISTENER(mute); |
| 71 DEFINE_ATTRIBUTE_EVENT_LISTENER(unmute); | 71 DEFINE_ATTRIBUTE_EVENT_LISTENER(unmute); |
| 72 DEFINE_ATTRIBUTE_EVENT_LISTENER(ended); | 72 DEFINE_ATTRIBUTE_EVENT_LISTENER(ended); |
| 73 | 73 |
| 74 MediaStreamComponent* component(); | 74 MediaStreamComponent* component(); |
| 75 bool ended() const; | 75 bool ended() const; |
| 76 | 76 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 101 bool m_isIteratingRegisteredMediaStreams; | 101 bool m_isIteratingRegisteredMediaStreams; |
| 102 bool m_stopped; | 102 bool m_stopped; |
| 103 RefPtr<MediaStreamComponent> m_component; | 103 RefPtr<MediaStreamComponent> m_component; |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 typedef HeapVector<Member<MediaStreamTrack> > MediaStreamTrackVector; | 106 typedef HeapVector<Member<MediaStreamTrack> > MediaStreamTrackVector; |
| 107 | 107 |
| 108 } // namespace blink | 108 } // namespace blink |
| 109 | 109 |
| 110 #endif // MediaStreamTrack_h | 110 #endif // MediaStreamTrack_h |
| OLD | NEW |