| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 53     String id() const; | 53     String id() const; | 
| 54     String label() const; | 54     String label() const; | 
| 55 | 55 | 
| 56     bool enabled() const; | 56     bool enabled() const; | 
| 57     void setEnabled(bool); | 57     void setEnabled(bool); | 
| 58 | 58 | 
| 59     void didEndTrack(); | 59     void didEndTrack(); | 
| 60 | 60 | 
| 61     String readyState() const; | 61     String readyState() const; | 
| 62 | 62 | 
| 63     static void getSources(ExecutionContext*, PassRefPtr<MediaStreamTrackSources
    Callback>, ExceptionState&); | 63     static void getSources(ExecutionContext*, PassOwnPtr<MediaStreamTrackSources
    Callback>, ExceptionState&); | 
| 64     void stopTrack(ExceptionState&); | 64     void stopTrack(ExceptionState&); | 
| 65 | 65 | 
| 66     DEFINE_ATTRIBUTE_EVENT_LISTENER(mute); | 66     DEFINE_ATTRIBUTE_EVENT_LISTENER(mute); | 
| 67     DEFINE_ATTRIBUTE_EVENT_LISTENER(unmute); | 67     DEFINE_ATTRIBUTE_EVENT_LISTENER(unmute); | 
| 68     DEFINE_ATTRIBUTE_EVENT_LISTENER(ended); | 68     DEFINE_ATTRIBUTE_EVENT_LISTENER(ended); | 
| 69 | 69 | 
| 70     MediaStreamComponent* component(); | 70     MediaStreamComponent* component(); | 
| 71     bool ended() const; | 71     bool ended() const; | 
| 72 | 72 | 
| 73     // EventTarget | 73     // EventTarget | 
| (...skipping 11 matching lines...) Expand all  Loading... | 
| 85 | 85 | 
| 86     bool m_stopped; | 86     bool m_stopped; | 
| 87     RefPtr<MediaStreamComponent> m_component; | 87     RefPtr<MediaStreamComponent> m_component; | 
| 88 }; | 88 }; | 
| 89 | 89 | 
| 90 typedef Vector<RefPtr<MediaStreamTrack> > MediaStreamTrackVector; | 90 typedef Vector<RefPtr<MediaStreamTrack> > MediaStreamTrackVector; | 
| 91 | 91 | 
| 92 } // namespace WebCore | 92 } // namespace WebCore | 
| 93 | 93 | 
| 94 #endif // MediaStreamTrack_h | 94 #endif // MediaStreamTrack_h | 
| OLD | NEW | 
|---|