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

Unified Diff: modules/mediasource/URLMediaSource.idl

Issue 22498002: Roll IDL to multivm@1329 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 4 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
« no previous file with comments | « modules/mediasource/SourceBufferList.idl ('k') | modules/mediasource/WebKitMediaSource.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/mediasource/URLMediaSource.idl
diff --git a/core/dom/Promise.idl b/modules/mediasource/URLMediaSource.idl
similarity index 84%
copy from core/dom/Promise.idl
copy to modules/mediasource/URLMediaSource.idl
index 893b8eefcf88606ebbdc2d59962a106e074795a6..6adb9f165415edaaa07ed8caf0668ef7ea2148a4 100644
--- a/core/dom/Promise.idl
+++ b/modules/mediasource/URLMediaSource.idl
@@ -27,9 +27,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-
-[
- CustomConstructor(any init),
- EnabledAtRuntime=promise
-] interface Promise {
+partial interface URL {
+ [CallWith=ScriptExecutionContext,TreatReturnedNullStringAs=Null] static DOMString createObjectURL(MediaSource? source);
+ [CallWith=ScriptExecutionContext,TreatReturnedNullStringAs=Null] static DOMString createObjectURL(WebKitMediaSource? source);
};
« no previous file with comments | « modules/mediasource/SourceBufferList.idl ('k') | modules/mediasource/WebKitMediaSource.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698