| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 | 54 |
| 55 String kind() const; | 55 String kind() const; |
| 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 bool remote() const; |
| 65 |
| 64 String readyState() const; | 66 String readyState() const; |
| 65 | 67 |
| 66 static void getSources(ExecutionContext*, PassOwnPtrWillBeRawPtr<MediaStream
TrackSourcesCallback>, ExceptionState&); | 68 static void getSources(ExecutionContext*, PassOwnPtrWillBeRawPtr<MediaStream
TrackSourcesCallback>, ExceptionState&); |
| 67 void stopTrack(ExceptionState&); | 69 void stopTrack(ExceptionState&); |
| 68 MediaStreamTrack* clone(ExecutionContext*); | 70 MediaStreamTrack* clone(ExecutionContext*); |
| 69 | 71 |
| 70 DEFINE_ATTRIBUTE_EVENT_LISTENER(mute); | 72 DEFINE_ATTRIBUTE_EVENT_LISTENER(mute); |
| 71 DEFINE_ATTRIBUTE_EVENT_LISTENER(unmute); | 73 DEFINE_ATTRIBUTE_EVENT_LISTENER(unmute); |
| 72 DEFINE_ATTRIBUTE_EVENT_LISTENER(ended); | 74 DEFINE_ATTRIBUTE_EVENT_LISTENER(ended); |
| 73 | 75 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 101 bool m_isIteratingRegisteredMediaStreams; | 103 bool m_isIteratingRegisteredMediaStreams; |
| 102 bool m_stopped; | 104 bool m_stopped; |
| 103 RefPtr<MediaStreamComponent> m_component; | 105 RefPtr<MediaStreamComponent> m_component; |
| 104 }; | 106 }; |
| 105 | 107 |
| 106 typedef HeapVector<Member<MediaStreamTrack> > MediaStreamTrackVector; | 108 typedef HeapVector<Member<MediaStreamTrack> > MediaStreamTrackVector; |
| 107 | 109 |
| 108 } // namespace blink | 110 } // namespace blink |
| 109 | 111 |
| 110 #endif // MediaStreamTrack_h | 112 #endif // MediaStreamTrack_h |
| OLD | NEW |