| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 */ | 23 */ |
| 24 | 24 |
| 25 [ | 25 [ |
| 26 Conditional=MEDIA_STREAM, | 26 Conditional=MEDIA_STREAM, |
| 27 EventTarget, | 27 EventTarget, |
| 28 Constructor, | 28 Constructor, |
| 29 Constructor(in MediaStream stream), | 29 Constructor(in MediaStream stream), |
| 30 Constructor(in MediaStreamTrack[] tracks), | 30 Constructor(in MediaStreamTrack[] tracks), |
| 31 ConstructorParameters=0, | 31 ConstructorParameters=0, |
| 32 CallWith=ScriptExecutionContext, | 32 CallWith=ScriptExecutionContext, |
| 33 V8SkipVTableValidation |
| 33 ] interface MediaStream { | 34 ] interface MediaStream { |
| 34 // DEPRECATED | 35 // DEPRECATED |
| 35 readonly attribute DOMString label; | 36 readonly attribute DOMString label; |
| 36 | 37 |
| 37 readonly attribute DOMString id; | 38 readonly attribute DOMString id; |
| 38 | 39 |
| 39 sequence<MediaStreamTrack> getAudioTracks(); | 40 sequence<MediaStreamTrack> getAudioTracks(); |
| 40 sequence<MediaStreamTrack> getVideoTracks(); | 41 sequence<MediaStreamTrack> getVideoTracks(); |
| 41 | 42 |
| 42 void addTrack(MediaStreamTrack track) | 43 void addTrack(MediaStreamTrack track) |
| (...skipping 12 matching lines...) Expand all Loading... |
| 55 void addEventListener(in DOMString type, | 56 void addEventListener(in DOMString type, |
| 56 in EventListener listener, | 57 in EventListener listener, |
| 57 in [Optional] boolean useCapture); | 58 in [Optional] boolean useCapture); |
| 58 void removeEventListener(in DOMString type, | 59 void removeEventListener(in DOMString type, |
| 59 in EventListener listener, | 60 in EventListener listener, |
| 60 in [Optional] boolean useCapture); | 61 in [Optional] boolean useCapture); |
| 61 boolean dispatchEvent(in Event event) | 62 boolean dispatchEvent(in Event event) |
| 62 raises(EventException); | 63 raises(EventException); |
| 63 }; | 64 }; |
| 64 | 65 |
| OLD | NEW |