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

Issue 10834324: Revert 124780 - Create a MediaSource object. (Closed)

Created:
8 years, 4 months ago by annacc
Modified:
8 years, 4 months ago
Reviewers:
annacc
CC:
chromium-reviews
Base URL:
http://svn.webkit.org/repository/webkit/branches/chromium/1229/
Visibility:
Public.

Description

Revert 124780 - Create a MediaSource object. https://bugs.webkit.org/show_bug.cgi?id=91773 Reviewed by Eric Carlson. MediaSource object is needed in order to implement the new object-oriented MediaSource API: http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html No new tests - will be able to test after landing: https://bugs.webkit.org/show_bug.cgi?id=91775 Adding new files to build files: * CMakeLists.txt: * DerivedSources.cpp: * DerivedSources.make: * DerivedSources.pri: * GNUmakefile.list.am: * Target.pri: * WebCore.gypi: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: New MediaSource object: * Modules/mediasource/MediaSource.cpp: Added. * Modules/mediasource/MediaSource.h: Added. * Modules/mediasource/MediaSource.idl: Added. Create a registry for the blob storage and lookup: * Modules/mediasource/MediaSourceRegistry.cpp: Added. * Modules/mediasource/MediaSourceRegistry.h: Added. Connect SourceBuffer to MediaSource: * Modules/mediasource/SourceBuffer.cpp: (WebCore::SourceBuffer::SourceBuffer): (WebCore::SourceBuffer::buffered): Forward call to MediaSource. (WebCore::SourceBuffer::append): Ditto. (WebCore::SourceBuffer::abort): Ditto. * Modules/mediasource/SourceBuffer.h: (WebCore::SourceBuffer::create): Add a MediaSource to the constructor. (WebCore::SourceBuffer::clear): Clear the MediaSource. (SourceBuffer): * Modules/mediasource/SourceBufferList.cpp: include SourceBuffer.h * Modules/mediasource/SourceBufferList.h: Make MediaSource an EventTarget: * dom/EventTarget.h: (WebCore): * dom/EventTargetFactory.in: Enable creation of MediaSource object URL from JavaScript: * html/DOMURL.cpp: (WebCore): (WebCore::DOMURL::createObjectURL): * html/DOMURL.h: (WebCore): (DOMURL): * html/DOMURL.idl: New MediaSource constructor: * page/DOMWindow.idl: TBR=annacc@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=125646

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -714 lines) Patch
M Source/WebCore/CMakeLists.txt View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/WebCore/DerivedSources.cpp View 1 chunk +0 lines, -3 lines 0 comments Download
M Source/WebCore/DerivedSources.make View 1 chunk +0 lines, -1 line 0 comments Download
M Source/WebCore/DerivedSources.pri View 1 chunk +0 lines, -1 line 0 comments Download
M Source/WebCore/GNUmakefile.list.am View 3 chunks +0 lines, -7 lines 0 comments Download
D Source/WebCore/Modules/mediasource/MediaSource.h View 1 chunk +0 lines, -113 lines 0 comments Download
D Source/WebCore/Modules/mediasource/MediaSource.cpp View 1 chunk +0 lines, -287 lines 0 comments Download
D Source/WebCore/Modules/mediasource/MediaSource.idl View 1 chunk +0 lines, -65 lines 0 comments Download
D Source/WebCore/Modules/mediasource/MediaSourceRegistry.h View 1 chunk +0 lines, -63 lines 0 comments Download
D Source/WebCore/Modules/mediasource/MediaSourceRegistry.cpp View 1 chunk +0 lines, -70 lines 0 comments Download
M Source/WebCore/Modules/mediasource/SourceBuffer.h View 3 chunks +4 lines, -6 lines 0 comments Download
M Source/WebCore/Modules/mediasource/SourceBuffer.cpp View 2 chunks +8 lines, -23 lines 0 comments Download
M Source/WebCore/Modules/mediasource/SourceBufferList.h View 1 chunk +1 line, -2 lines 0 comments Download
M Source/WebCore/Modules/mediasource/SourceBufferList.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/WebCore/Target.pri View 1 chunk +0 lines, -4 lines 0 comments Download
M Source/WebCore/WebCore.gypi View 2 chunks +0 lines, -5 lines 0 comments Download
M Source/WebCore/WebCore.vcproj/WebCore.vcproj View 1 chunk +0 lines, -16 lines 0 comments Download
M Source/WebCore/WebCore.xcodeproj/project.pbxproj View 2 chunks +0 lines, -10 lines 0 comments Download
M Source/WebCore/dom/EventTarget.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/WebCore/dom/EventTargetFactory.in View 1 chunk +0 lines, -1 line 0 comments Download
M Source/WebCore/html/DOMURL.h View 2 chunks +0 lines, -4 lines 0 comments Download
M Source/WebCore/html/DOMURL.cpp View 2 chunks +0 lines, -25 lines 0 comments Download
M Source/WebCore/html/DOMURL.idl View 1 chunk +0 lines, -3 lines 0 comments Download
M Source/WebCore/page/DOMWindow.idl View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 1 (0 generated)
annacc
8 years, 4 months ago (2012-08-15 04:25:16 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698