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

Unified Diff: lib/dom/idl/dart/dart.idl

Issue 10919101: Adding missing media element events. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | « no previous file | lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/idl/dart/dart.idl
diff --git a/lib/dom/idl/dart/dart.idl b/lib/dom/idl/dart/dart.idl
index 4bb1e099be2e19e774467d12aabc5a9c5f2ac681..0699fc5a9cfb0d5ffc552a8a172ac6b095213b1a 100644
--- a/lib/dom/idl/dart/dart.idl
+++ b/lib/dom/idl/dart/dart.idl
@@ -74,6 +74,32 @@ module html {
};
[Supplemental]
+ interface HTMLMediaElement {
+ // Adding media events.
+ attribute EventListener oncanplay;
+ attribute EventListener oncanplaythrough;
+ attribute EventListener ondurationchange;
+ attribute EventListener onemptied;
+ attribute EventListener onended;
+ attribute EventListener onloadeddata;
+ attribute EventListener onloadedmetadata;
+ attribute EventListener onloadstart;
+ attribute EventListener onpause;
+ attribute EventListener onplay;
+ attribute EventListener onplaying;
+ attribute EventListener onprogress;
+ attribute EventListener onratechange;
+ attribute EventListener onseeked;
+ attribute EventListener onseeking;
+ attribute EventListener onshow;
+ attribute EventListener onstalled;
+ attribute EventListener onsuspend;
+ attribute EventListener ontimeupdate;
+ attribute EventListener onvolumechange;
+ attribute EventListener onwaiting;
+ };
+
+ [Supplemental]
interface WebGLContextEvent {
[Suppressed] void initEvent([Optional] in DOMString eventTypeArg,
[Optional] in boolean canBubbleArg,
« no previous file with comments | « no previous file | lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698