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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 758123003: Workaround for canPlayType in Dartium (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add regression test Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index a2289fde5d83e0f843ef1400143c221c48ecac1c..f43d72c117d334dc805711a1aba893f6f848a90c 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -19449,11 +19449,6 @@ class MediaElement extends HtmlElement {
@Experimental()
TextTrack addTextTrack(String kind, [String label, String language]) native;
- @DomName('HTMLMediaElement.canPlayType')
- @DocsEditable()
- @Unstable()
- String canPlayType(String type, [String keySystem]) native;
-
@DomName('HTMLMediaElement.load')
@DocsEditable()
void load() native;
@@ -19525,6 +19520,11 @@ class MediaElement extends HtmlElement {
// https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted-media.html#dom-keyadded
@Experimental()
ElementStream<MediaKeyEvent> get onNeedKey => needKeyEvent.forElement(this);
+
+ @DomName('HTMLMediaElement.canPlayType')
+ @DocsEditable()
+ @Unstable()
+ String canPlayType(String type, [String keySystem]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698