Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(727)

Unified Diff: third_party/WebKit/Source/modules/mediasource/AudioTrack.idl

Issue 1658033002: Add SourceBuffer implementations of Audio/VideoTracks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pass-media-tracks-to-blink
Patch Set: rebase Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/mediasource/AudioTrack.idl
diff --git a/third_party/WebKit/Source/core/frame/NavigatorOnLine.idl b/third_party/WebKit/Source/modules/mediasource/AudioTrack.idl
similarity index 84%
copy from third_party/WebKit/Source/core/frame/NavigatorOnLine.idl
copy to third_party/WebKit/Source/modules/mediasource/AudioTrack.idl
index 94468aaeeedffbf3fd984d6229c3567c9012504b..2b646aa7746260c04fe525b1534c93b5fb7bed26 100644
--- a/third_party/WebKit/Source/core/frame/NavigatorOnLine.idl
+++ b/third_party/WebKit/Source/modules/mediasource/AudioTrack.idl
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2013 Samsung Electronics. All rights reserved.
+ * Copyright (C) 2016 Google Inc. All rights reserved.
philipj_slow 2016/02/23 04:35:07 Use the new smaller copyright header, here and in
servolk 2016/02/24 00:11:36 Done.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -28,11 +28,11 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// https://html.spec.whatwg.org/#navigator.online
+// http://www.w3.org/TR/media-source/#audio-track-extensions
philipj_slow 2016/02/23 04:35:07 Please use the most up-to-date spec available: htt
servolk 2016/02/24 00:11:36 Done.
[
- NoInterfaceObject, // Always used on target of 'implements'
- Exposed=(Window,Worker),
-] interface NavigatorOnLine {
- readonly attribute boolean onLine;
+ RuntimeEnabled=AudioVideoTracks,
+ ImplementedAs=SourceBufferAudioTrack,
philipj_slow 2016/02/23 04:35:07 If you rename this file to AudioTrackSourceBuffer.
servolk 2016/02/24 00:11:36 Done.
+] partial interface AudioTrack {
+ readonly attribute SourceBuffer? sourceBuffer;
};

Powered by Google App Engine
This is Rietveld 408576698